mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️:user::devices: Add existential test before iteration of any properties.
This commit is contained in:
parent
f51bcf5939
commit
adab45fb6a
1 changed files with 3 additions and 0 deletions
|
@ -353,6 +353,9 @@ const
|
|||
user_room
|
||||
};
|
||||
|
||||
if(!state.has("ircd.device.device_id", device_id))
|
||||
return true;
|
||||
|
||||
const room::state::type_prefix type
|
||||
{
|
||||
"ircd.device."
|
||||
|
|
Loading…
Reference in a new issue