mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Last Owner should edit admins, and not leave when is last (#4372)
This commit is contained in:
@@ -27,6 +27,7 @@ enum RoomDetailsScreenViewModelAction: Equatable {
|
||||
case displayKnockingRequests
|
||||
case displaySecurityAndPrivacy
|
||||
case displayReportRoom
|
||||
case transferOwnership
|
||||
}
|
||||
|
||||
// MARK: View
|
||||
@@ -288,6 +289,8 @@ enum RoomDetailsScreenErrorType: Hashable {
|
||||
case alert
|
||||
/// Leaving room has failed..
|
||||
case unknown
|
||||
/// Last owner
|
||||
case lastOwner
|
||||
}
|
||||
|
||||
enum RoomDetailsScreenPinnedEventsActionState {
|
||||
|
||||
Reference in New Issue
Block a user