mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
ircd:Ⓜ️:room::power: Consider an empty prop argument for level_event().
This commit is contained in:
parent
a995a14a3b
commit
d0b5b68d9c
1 changed files with 1 additions and 1 deletions
|
@ -2442,7 +2442,7 @@ const
|
|||
|
||||
const auto &required_level
|
||||
{
|
||||
prop == "events"?
|
||||
empty(prop) || prop == "events"?
|
||||
level_event(type, state_key):
|
||||
level(prop)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue