1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-06-20 00:25:17 +00:00

Export the list of friends

This commit is contained in:
2020-03-26 13:29:39 +01:00
parent 830c871ed4
commit aef43df39e
3 changed files with 13 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import { LikesHelper } from "./LikesHelper";
import { SurveyHelper } from "./SurveyHelper";
import { MoviesHelper } from "./MoviesHelper";
import { ConversationsHelper } from "./ConversationsHelper";
import { FriendsHelper } from "./FriendsHelper";
/**
* Account helper
@ -415,7 +416,10 @@ export class AccountHelper {
conversations: await ConversationsHelper.GetListUser(userID),
// Conversations messages (completed after)
conversationsMessages: new Map()
conversationsMessages: new Map(),
// Friends
friendsList: await FriendsHelper.GetList(userID)
})
// Process conversation messages