mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Add alerts with reason for kick and ban (#3967)
* feat: added alerts with reason for kick and ban in the room members list screen * fix tests
This commit is contained in:
@@ -159,8 +159,8 @@ protocol JoinedRoomProxyProtocol: RoomProxyProtocol {
|
||||
|
||||
// MARK: - Moderation
|
||||
|
||||
func kickUser(_ userID: String) async -> Result<Void, RoomProxyError>
|
||||
func banUser(_ userID: String) async -> Result<Void, RoomProxyError>
|
||||
func kickUser(_ userID: String, reason: String?) async -> Result<Void, RoomProxyError>
|
||||
func banUser(_ userID: String, reason: String?) async -> Result<Void, RoomProxyError>
|
||||
func unbanUser(_ userID: String) async -> Result<Void, RoomProxyError>
|
||||
|
||||
// MARK: - Element Call
|
||||
|
||||
Reference in New Issue
Block a user