Merge branch 'voip_design_updates' into voip_jitsi_remover

This commit is contained in:
ismailgulek
2021-04-27 14:51:19 +03:00
5 changed files with 56 additions and 13 deletions
+8
View File
@@ -2680,6 +2680,14 @@ const NSUInteger kJumptoUnreadBannerBgColorForDarkMode = 0x394049;
MXCall *call = [self.mainSession.callManager callWithCallId:eventContent.callId];
[call answer];
}
else if ([actionIdentifier isEqualToString:RoomDirectCallStatusBubbleCell.endCallAction])
{
MXEvent *callInviteEvent = userInfo[kMXKRoomBubbleCellEventKey];
MXCallInviteEventContent *eventContent = [MXCallInviteEventContent modelFromJSON:callInviteEvent.content];
MXCall *call = [self.mainSession.callManager callWithCallId:eventContent.callId];
[call hangup];
}
else if ([actionIdentifier isEqualToString:RoomGroupCallStatusBubbleCell.joinAction] ||
[actionIdentifier isEqualToString:RoomGroupCallStatusBubbleCell.answerAction])
{