1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-06-23 18:11:40 +00:00

Add check for video calls

This commit is contained in:
2020-04-10 11:08:18 +02:00
parent 0a778811af
commit 76105957a0
2 changed files with 12 additions and 1 deletions

View File

@ -371,7 +371,8 @@ export class ConversationsController {
following: c.following ? 1 : 0,
saw_last_message: c.sawLastMessage ? 1 : 0,
members: [...c.members],
can_have_call: CallsHelper.CanHaveCall(c)
can_have_call: CallsHelper.CanHaveCall(c),
can_have_video_call: CallsHelper.CanHaveVideoCAll(c)
};
}