fix: Inverted creatorship check
This commit is contained in:
parent
a581e8de01
commit
8b3acfd770
1 changed files with 2 additions and 2 deletions
|
|
@ -627,9 +627,9 @@ where
|
|||
{
|
||||
if v.explicitly_privilege_room_creators {
|
||||
c.contains(user_id)
|
||||
} else if v.use_room_create_sender && have_pls {
|
||||
} else if v.use_room_create_sender && !have_pls {
|
||||
ce.sender() == user_id
|
||||
} else if have_pls {
|
||||
} else if !have_pls {
|
||||
#[allow(deprecated)]
|
||||
let creator = from_json_str::<RoomCreateEventContent>(ce.content().get())
|
||||
.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue