MESSENGER-5671 deactivate swpie gesture room participants list

This commit is contained in:
JanNiklas Grabowski
2024-02-02 16:17:09 +01:00
parent 9725fc98fa
commit a573e15ea3
2 changed files with 10 additions and 2 deletions
@@ -1151,9 +1151,13 @@
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.section == participantsSection || indexPath.section == invitedSection)
// bwi: #5671 deactivate swipe gesture - remove participant from room
if (BWIBuildSettings.shared.bwiCanEditRoomParticipants)
{
return YES;
if (indexPath.section == participantsSection || indexPath.section == invitedSection)
{
return YES;
}
}
return NO;
}