mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
The Invite cell behaviour is not driven by MXRoom.isDirect property anymore
This commit is contained in:
@@ -80,11 +80,7 @@ NSString *const kInviteRecentTableViewCellRoomKey = @"kInviteRecentTableViewCell
|
||||
|
||||
- (void)onRightButtonPressed:(id)sender
|
||||
{
|
||||
MXRoom *room = roomCellData.roomSummary.room;
|
||||
|
||||
NSString *actionIdentifier = room.isDirect ? kInviteRecentTableViewCellAcceptButtonPressed : kInviteRecentTableViewCellPreviewButtonPressed;
|
||||
|
||||
[self notifyDelegateWithActionIdentifier:actionIdentifier];
|
||||
[self notifyDelegateWithActionIdentifier:kInviteRecentTableViewCellAcceptButtonPressed];
|
||||
}
|
||||
|
||||
- (void)notifyDelegateWithActionIdentifier:(NSString*)actionIdentifier
|
||||
|
||||
Reference in New Issue
Block a user