mirror of
https://github.com/matrix-construct/construct
synced 2024-12-24 14:34:00 +01:00
ircd:Ⓜ️:room::power: Relax default invite power level in accordance with spec.
This commit is contained in:
parent
560bd5edad
commit
91ac6a9269
1 changed files with 3 additions and 1 deletions
|
@ -575,7 +575,9 @@ catch(const json::error &e)
|
|||
e.what(),
|
||||
};
|
||||
|
||||
return default_power_level;
|
||||
return prop == "invite"?
|
||||
default_event_level:
|
||||
default_power_level;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
Loading…
Reference in a new issue