mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-24 18:02:29 +00: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:
1 parent
9e9b48700d
commit
9b08b51dac
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user