Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -36,11 +36,11 @@ export function shouldShowInvalidMessageToast(
|
|||
return { toastType: ToastType.InvalidConversation };
|
||||
}
|
||||
|
||||
const { e164, uuid } = conversationAttributes;
|
||||
const { e164, serviceId } = conversationAttributes;
|
||||
if (
|
||||
isDirectConversation(conversationAttributes) &&
|
||||
((e164 && window.storage.blocked.isBlocked(e164)) ||
|
||||
(uuid && window.storage.blocked.isUuidBlocked(uuid)))
|
||||
(serviceId && window.storage.blocked.isServiceIdBlocked(serviceId)))
|
||||
) {
|
||||
return { toastType: ToastType.Blocked };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue