Skip to content

The open alternative to Salesforce, designed for AI.

314 B
Raw Blame
import { getLinkedinChatCounterparts } from 'src/logic-functions/utils/get-linkedin-chat-counterparts.util';
import { type UnipileChat } from 'src/unipile/types/unipile-chat.type';

export const isLinkedinGroupChat = (chat: UnipileChat): boolean =>
  chat.is_group || getLinkedinChatCounterparts(chat).length > 1;