mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
API break: [MXRoom placeCall:] is now asynchronous
This commit is contained in:
@@ -702,7 +702,7 @@
|
||||
// Place the call directly if the room exists
|
||||
if (oneToOneRoom)
|
||||
{
|
||||
[self.mainSession.callManager placeCallInRoom:oneToOneRoom.state.roomId withVideo:isVideoCall];
|
||||
[oneToOneRoom placeCallWithVideo:isVideoCall success:nil failure:nil];
|
||||
[self removePendingActionMask];
|
||||
}
|
||||
else
|
||||
@@ -719,7 +719,7 @@
|
||||
|
||||
// Delay the call in order to be sure that the room is ready
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self.mainSession.callManager placeCallInRoom:room.state.roomId withVideo:isVideoCall];
|
||||
[room placeCallWithVideo:isVideoCall success:nil failure:nil];
|
||||
[self removePendingActionMask];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user