Request for comment for issue: https://tracker.moodle.org/browse/MDL-55014
Keeping the message id accross message / message_read table
It contains a code change to keep the original message id when moving to the message_read table
A couple of reasons for the change:
if the tables are ever merged (as planned in MDL-36941 ), then the id's will need to be the same anyway
It is helpful to have them the same id when using ajax to mark as read / unread and deleting using ajax, i.e. if you mark it as read using the id, then try and delete it it will fail.
Appreciate feedback, thanks