mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Bug fix: The initialisation of a conference call silently fails when the room member has not enough power level
https://github.com/vector-im/vector-web/issues/1948
This commit is contained in:
@@ -1851,11 +1851,10 @@
|
||||
|
||||
- (void)roomInputToolbarView:(MXKRoomInputToolbarView*)toolbarView placeCallWithVideo:(BOOL)video
|
||||
{
|
||||
// In case of conference call, check that the user has enou
|
||||
// In case of conference call, check that the user has enough power level
|
||||
if (self.roomDataSource.room.state.joinedMembers.count > 2 &&
|
||||
![MXCallManager canPlaceConferenceCallInRoom:self.roomDataSource.room])
|
||||
{
|
||||
// The user has not enough power level in this room to create the conf
|
||||
[currentAlert dismiss:NO];
|
||||
|
||||
__weak __typeof(self) weakSelf = self;
|
||||
|
||||
Reference in New Issue
Block a user