Fix signal connection count
This commit is contained in:
parent
4dfbb25c71
commit
f1665c65d0
2 changed files with 9 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
|
||||
import type { ConversationAttributesType } from '../model-types';
|
||||
|
||||
export function isBlocked(attributes: ConversationAttributesType): boolean {
|
||||
export function isBlocked(
|
||||
attributes: Pick<ConversationAttributesType, 'e164' | 'groupId' | 'serviceId'>
|
||||
): boolean {
|
||||
const { e164, groupId, serviceId } = attributes;
|
||||
if (serviceId) {
|
||||
return window.storage.blocked.isServiceIdBlocked(serviceId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue