0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00

ircd:Ⓜ️:join: Fix condition for bootstrap of local rooms (regression 09ba5ee455).

This commit is contained in:
Jason Volk 2020-04-16 17:13:09 -07:00
parent 1f8e07d73d
commit 549e4df476

View file

@ -144,6 +144,11 @@ ircd::m::join(const m::room &room,
bool
ircd::m::need_bootstrap(const room::id &room_id)
{
// No bootstrap for my rooms
//TODO: issue for clustering
if(my(room_id))
return false;
// We have nothing for the room
if(!exists(room_id))
return true;