mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 05:19:22 +00:00
Fix little error
This commit is contained in:
parent
dc79c42949
commit
89b5b3c4e1
@ -259,7 +259,7 @@ export class AccountController {
|
||||
conversations_list: data.conversations.map(ConversationsController.ConversationToAPI),
|
||||
|
||||
// Conversation messages
|
||||
conversation_messages: {},
|
||||
conversations_messages: {},
|
||||
|
||||
// Friends list
|
||||
friends_list: data.friendsList.map(f => FriendsController.FriendToAPI(f, false)),
|
||||
@ -270,7 +270,7 @@ export class AccountController {
|
||||
|
||||
// Fill conversation messages entry
|
||||
for(const conv of data.conversations) {
|
||||
out.conversation_messages[conv.id] =
|
||||
out.conversations_messages[conv.id] =
|
||||
data.conversationsMessages[conv.id].map(ConversationsController.ConversationMessageToAPI)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user