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:
manuroe
2016-08-19 09:59:31 +02:00
parent 6b8591b255
commit 7ad23df6d7
+1 -2
View File
@@ -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;