mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
UsersDeviceViewController: Add an onComplete param to the displayUsersDevices method
This commit is contained in:
@@ -25,8 +25,13 @@
|
||||
Display a map of users/devices.
|
||||
|
||||
@param usersDevices the map to display.
|
||||
@param mxSession the Matrix session.
|
||||
@param onComplete a block called when the user quits the screen
|
||||
doneButtonPressed is:
|
||||
- YES if the user clicked the Done button, meaning he acknowledges all unknown devices.
|
||||
- NO if the user clicked the Cancel button, meaning he prefers to cancel the current request.
|
||||
*/
|
||||
- (void)displayUsersDevices:(MXUsersDevicesMap<MXDeviceInfo*>*)usersDevices andMatrixSession:(MXSession*)mxSession;
|
||||
- (void)displayUsersDevices:(MXUsersDevicesMap<MXDeviceInfo*>*)usersDevices andMatrixSession:(MXSession*)mxSession onComplete:(void (^)(BOOL doneButtonPressed))onComplete;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user