From ac3da6892300ebcfc27acf684c6e9afec2050d56 Mon Sep 17 00:00:00 2001 From: Frank Rotermund Date: Wed, 12 Apr 2023 15:31:22 +0200 Subject: [PATCH] MESSENGER-4535 fix invitation into DMs and personal notes --- .../Members/RoomParticipantsViewController.m | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Riot/Modules/Room/Members/RoomParticipantsViewController.m b/Riot/Modules/Room/Members/RoomParticipantsViewController.m index 2fc6c118a..45df17607 100644 --- a/Riot/Modules/Room/Members/RoomParticipantsViewController.m +++ b/Riot/Modules/Room/Members/RoomParticipantsViewController.m @@ -155,13 +155,15 @@ [self.tableView registerClass:ContactTableViewCell.class forCellReuseIdentifier:@"ParticipantTableViewCellId"]; - if (_showInviteUserFab) - { - // Add invite members button programmatically - [self vc_addFABWithImage:AssetImages.addMemberFloatingAction.image - target:self - action:@selector(onAddParticipantButtonPressed)]; - } + // bwi: too early to tell if button should be added -> we need mxRoom +// if (_showInviteUserFab) +// { +// // Add invite members button programmatically +// [self vc_addFABWithImage:AssetImages.addMemberFloatingAction.image +// target:self +// action:@selector(onAddParticipantButtonPressed)]; +// } + // Observe user interface theme change. kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {