0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️:user::devices: Add existential test before iteration of any properties.

This commit is contained in:
Jason Volk 2020-04-01 19:17:10 -07:00
parent f51bcf5939
commit adab45fb6a

View file

@ -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."