mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Update read status in refresh_single
This commit is contained in:
parent
e95f6cfb98
commit
0c64b153c9
@ -378,6 +378,9 @@ class conversationsController{
|
|||||||
CS::get()->components->conversations->getNewMessages($conversationID, $last_message_id);
|
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 the messges
|
||||||
return $messages;
|
return $messages;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user