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:
David Teller authored and gnuxie committed 2023-01-31 20:12:06 +00:00
1 parent 9e9b48700d
commit 9b08b51dac
1 file changed
+1
+1
View File
@@ -688,6 +688,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);