mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Fix return type
This commit is contained in:
parent
6b54c3a492
commit
6de6d94f7c
@ -508,7 +508,7 @@ export class Algorithm extends EventEmitter {
|
||||
if (cause === RoomUpdateCause.NewRoom) {
|
||||
// TODO: Be smarter and insert rather than regen the planet.
|
||||
await this.setKnownRooms([room, ...this.rooms]);
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (cause === RoomUpdateCause.RoomRemoved) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user