The original implementation send the new message event in after saved hook already. But after the event is sent, there are sql to updated unread count and conversation last message... This PR update to send the message event after those related records update.
connect #229
The original implementation send the new message event in after saved hook already. But after the event is sent, there are sql to updated unread count and conversation last message... This PR update to send the message event after those related records update.