diff --git a/src/WABinary/jid-utils.ts b/src/WABinary/jid-utils.ts index 45ceef6..d7cbbea 100644 --- a/src/WABinary/jid-utils.ts +++ b/src/WABinary/jid-utils.ts @@ -46,6 +46,8 @@ export const areJidsSameUser = (jid1: string | undefined, jid2: string | undefin ) /** is the jid a user */ export const isJidUser = (jid: string | undefined) => (jid?.endsWith('@s.whatsapp.net')) +/** is the jid a group */ +export const isLidUser = (jid: string | undefined) => (jid?.endsWith('@lid')) /** is the jid a broadcast */ export const isJidBroadcast = (jid: string | undefined) => (jid?.endsWith('@broadcast')) /** is the jid a group */