mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
presence update bug fix
This commit is contained in:
@@ -310,7 +310,7 @@ export class WAConnection extends Base {
|
||||
return response.eurl as string
|
||||
}
|
||||
protected applyingPresenceUpdate(update: PresenceUpdate) {
|
||||
const chatId = update.id
|
||||
const chatId = whatsappID(update.id)
|
||||
const jid = whatsappID(update.participant || update.id)
|
||||
// emit deprecated
|
||||
this.emit('user-presence-update', update)
|
||||
|
||||
Reference in New Issue
Block a user