diff --git a/ts/util/blockedNumberController.ts b/ts/util/blockedNumberController.ts index 17616ae95..cc25c66a0 100644 --- a/ts/util/blockedNumberController.ts +++ b/ts/util/blockedNumberController.ts @@ -1,4 +1,5 @@ import { Data } from '../data/data'; +import { getConversationController } from '../session/conversations'; import { PubKey } from '../session/types'; import { UserUtils } from '../session/utils'; @@ -105,6 +106,13 @@ export class BlockedNumberController { } }); + users.map(user => { + const found = getConversationController().get(user); + if (found) { + found.triggerUIRefresh(); + } + }); + if (changes) { await this.saveToDB(BLOCKED_NUMBERS_ID, this.blockedNumbers); }