This commit is contained in:
John Livingston 2023-09-18 12:42:32 +02:00
parent 065b6f0ed3
commit de243bdc01
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -160,7 +160,6 @@ class RoomChannel {
}
c2r.set(roomJID, true)
this.room2Channel.set(roomJID, channelId)
this.roomConfToUpdate.set(roomJID, true)
}
}
@ -221,6 +220,11 @@ class RoomChannel {
// This part must be done atomicly:
this._readData(data)
// Now we must mark all rooms for conf update.
for (const roomJID of this.room2Channel.keys()) {
this.roomConfToUpdate.set(roomJID, true)
}
await this.sync() // FIXME: or maybe scheduleSync ?
}