mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
PolicyListManager: Let's not forget to remove the room also from the set of rooms we failed to resolve (#463)
This commit is contained in:
parent
cff9b43207
commit
b7d5e5d7bc
@ -686,6 +686,7 @@ export class PolicyListManager {
|
||||
if (!permalink.roomIdOrAlias) return null;
|
||||
|
||||
const roomId = await this.mjolnir.client.resolveRoom(permalink.roomIdOrAlias);
|
||||
this.failedStartupWatchListRefs.delete(roomRef);
|
||||
const list = this.policyLists.find(b => b.roomId === roomId) || null;
|
||||
if (list) {
|
||||
this.policyLists.splice(this.policyLists.indexOf(list), 1);
|
||||
|
Loading…
Reference in New Issue
Block a user