mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
BF: Call button should be greyed or not be displayed in room with more than 2 users #477
Hide call button no 1:1 room
This commit is contained in:
@@ -802,7 +802,7 @@
|
||||
RoomInputToolbarView *roomInputToolbarView = (RoomInputToolbarView*)self.inputToolbarView;
|
||||
|
||||
// Check whether the call option is supported
|
||||
roomInputToolbarView.supportCallOption = (self.roomDataSource.mxSession.callManager != nil);
|
||||
roomInputToolbarView.supportCallOption = (self.roomDataSource.mxSession.callManager != nil && self.roomDataSource.room.state.members.count == 2);
|
||||
|
||||
// Set user picture in input toolbar
|
||||
MXKImageView *userPictureView = roomInputToolbarView.pictureView;
|
||||
|
||||
Reference in New Issue
Block a user