Set message as read before removing an event
When we receive carbons of a conversation, we remove the events once we receive a carbon from ourself, because that means we anwered from another device. This sets these removed messages also as read in the unread_message table, so they dont popup on restart.
Please register or sign in to comment