|
|
@ -1,4 +1,5 @@
|
|
|
|
import { Data } from '../data/data';
|
|
|
|
import { Data } from '../data/data';
|
|
|
|
|
|
|
|
import { getConversationController } from '../session/conversations';
|
|
|
|
import { PubKey } from '../session/types';
|
|
|
|
import { PubKey } from '../session/types';
|
|
|
|
import { UserUtils } from '../session/utils';
|
|
|
|
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) {
|
|
|
|
if (changes) {
|
|
|
|
await this.saveToDB(BLOCKED_NUMBERS_ID, this.blockedNumbers);
|
|
|
|
await this.saveToDB(BLOCKED_NUMBERS_ID, this.blockedNumbers);
|
|
|
|
}
|
|
|
|
}
|
|
|
|