Update read status in refresh_single

This commit is contained in:
Pierre 2017-12-31 14:08:27 +01:00
parent e95f6cfb98
commit 0c64b153c9

View File

@ -378,6 +378,9 @@ class conversationsController{
CS::get()->components->conversations->getNewMessages($conversationID, $last_message_id);
}
//Specify that user has seen last messages
CS::get()->components->conversations->markUserAsRead(userID, $conversationID);
//Return the messges
return $messages;