0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

ircd:Ⓜ️ Make more efficient members queries.

This commit is contained in:
Jason Volk 2019-09-11 10:59:39 -07:00
parent eee2c9481f
commit b73c467fae

View file

@ -1097,11 +1097,7 @@ ircd::m::local_joined(const room &room)
room
};
return !members.for_each("join", []
(const id::user &user_id)
{
return my(user_id)? false : true; // false to break.
});
return !members.empty("join", my_host());
}
/// Member(s) from another server are presently joined to the room. For example