Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -4,9 +4,9 @@
|
|||
import type { ConversationAttributesType } from '../model-types';
|
||||
|
||||
export function isBlocked(attributes: ConversationAttributesType): boolean {
|
||||
const { e164, groupId, uuid } = attributes;
|
||||
if (uuid) {
|
||||
return window.storage.blocked.isUuidBlocked(uuid);
|
||||
const { e164, groupId, serviceId } = attributes;
|
||||
if (serviceId) {
|
||||
return window.storage.blocked.isServiceIdBlocked(serviceId);
|
||||
}
|
||||
|
||||
if (e164) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue