cleanup: remove string lid / jid refs and improve hosted support
This commit is contained in:
@@ -122,7 +122,7 @@ export class LIDMappingStore {
|
||||
this.logger.trace(`No LID mapping found for PN user ${pnUser}; batch getting from USync`)
|
||||
const device = decoded.device || 0
|
||||
let normalizedPn = jidNormalizedUser(pn)
|
||||
if (isHostedLidUser(normalizedPn) || isHostedPnUser(normalizedPn)) {
|
||||
if (isHostedPnUser(normalizedPn)) {
|
||||
normalizedPn = `${pnUser}@s.whatsapp.net`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user