mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Bug Fix - Call: The "Return to call" banner does not rotate with the device
#482 + handle correclty hangup button in room options menu
This commit is contained in:
@@ -934,7 +934,7 @@
|
||||
userPictureView.clipsToBounds = YES;
|
||||
}
|
||||
|
||||
// Show the hangup button if there is an active call
|
||||
// Show the hangup button if there is an active call in the current room
|
||||
MXCall *callInRoom = [self.roomDataSource.mxSession.callManager callInRoom:self.roomDataSource.roomId];
|
||||
if (callInRoom && callInRoom.state != MXCallStateEnded)
|
||||
{
|
||||
@@ -943,6 +943,9 @@
|
||||
else
|
||||
{
|
||||
roomInputToolbarView.activeCall = NO;
|
||||
|
||||
// Hide the call button if there is an active call in another room
|
||||
roomInputToolbarView.supportCallOption &= ([[AppDelegate theDelegate] callStatusBarWindow] == nil);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user