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:
parent
1f8e07d73d
commit
549e4df476
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue