mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
RecentsDataSource: Remove InviteRecentTableViewCell dependency
This commit is contained in:
@@ -18,6 +18,25 @@
|
||||
|
||||
#import "RecentTableViewCell.h"
|
||||
|
||||
/**
|
||||
Action identifier used when the user pressed 'preview' button displayed on room invitation.
|
||||
|
||||
The `userInfo` dictionary contains an `MXRoom` object under the `kInviteRecentTableViewCellRoomKey` key, representing the room of the invitation.
|
||||
*/
|
||||
extern NSString *const kInviteRecentTableViewCellPreviewButtonPressed;
|
||||
|
||||
/**
|
||||
Action identifier used when the user pressed 'decline' button displayed on room invitation.
|
||||
|
||||
The `userInfo` dictionary contains an `MXRoom` object under the `kInviteRecentTableViewCellRoomKey` key, representing the room of the invitation.
|
||||
*/
|
||||
extern NSString *const kInviteRecentTableViewCellDeclineButtonPressed;
|
||||
|
||||
/**
|
||||
Notifications `userInfo` keys
|
||||
*/
|
||||
extern NSString *const kInviteRecentTableViewCellRoomKey;
|
||||
|
||||
/**
|
||||
`InviteRecentTableViewCell` instances display an invite to a room in the context of the recents list.
|
||||
*/
|
||||
@@ -26,14 +45,4 @@
|
||||
@property (weak, nonatomic) IBOutlet UIButton *leftButton;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *rightButton;
|
||||
|
||||
/**
|
||||
The user tap on the reject button
|
||||
*/
|
||||
@property (nonatomic, copy) void (^onRejectClick)();
|
||||
|
||||
/**
|
||||
The user tap on the join button
|
||||
*/
|
||||
@property (nonatomic, copy) void (^onJoinClick)();
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user