mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Restore permissions to creator and display them as owners in the list (#4369)
* restore permissions to creator and display them as owners in the list * improved the code to use actually 5 roles in the app to distinguish a real creator from an owner
This commit is contained in:
@@ -10,7 +10,8 @@ import AnalyticsEvents
|
||||
extension AnalyticsEvent.RoomModeration.Role {
|
||||
init(role: RoomMemberDetails.Role) {
|
||||
switch role {
|
||||
case .administrator:
|
||||
case .administrator, .creator, .owner:
|
||||
// This probably needs to be updates
|
||||
self = .Administrator
|
||||
case .moderator:
|
||||
self = .Moderator
|
||||
|
||||
Reference in New Issue
Block a user