fix browser icon and typo (#1450)

This commit is contained in:
Muhamad Ristiyanto
2022-04-06 15:06:15 +07:00
committed by GitHub
parent 5aa64f2c39
commit e6e8e24ea9
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ export const areJidsSameUser = (jid1: string, jid2: string) => (
export const isJidUser = (jid: string) => (jid?.endsWith('@s.whatsapp.net'))
/** is the jid a broadcast */
export const isJidBroadcast = (jid: string) => (jid?.endsWith('@broadcast'))
/** is the jid a broadcast */
/** is the jid a group */
export const isJidGroup = (jid: string) => (jid?.endsWith('@g.us'))
/** is the jid the status broadcast */
export const isJidStatusBroadcast = (jid: string) => jid === 'status@broadcast'