mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Improved conversation get methods
This commit is contained in:
@ -305,7 +305,7 @@ class conversationsController{
|
||||
Rest_fatal_error(401, "Specified user doesn't belongs to the conversation number ".$conversationID." !");
|
||||
|
||||
//Then we can get the ten las messages of the conversation system
|
||||
$conversationsMessages[$conversationID] = CS::get()->components->conversations->getLastMessages($conversationID, 10);
|
||||
$conversationsMessages["conversation-".$conversationID] = CS::get()->components->conversations->getLastMessages($conversationID, 10);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user