1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-27 22:18:52 +00:00

Fix little error

This commit is contained in:
Pierre HUBERT 2020-03-26 13:47:31 +01:00
parent dc79c42949
commit 89b5b3c4e1

View File

@ -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)
}