mirror of
https://github.com/matrix-construct/construct
synced 2025-01-16 09:36:54 +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
|
bool
|
||||||
ircd::m::need_bootstrap(const room::id &room_id)
|
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
|
// We have nothing for the room
|
||||||
if(!exists(room_id))
|
if(!exists(room_id))
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue