mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +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
|
const auto &required_level
|
||||||
{
|
{
|
||||||
prop == "events"?
|
empty(prop) || prop == "events"?
|
||||||
level_event(type, state_key):
|
level_event(type, state_key):
|
||||||
level(prop)
|
level(prop)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue