mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Compatibility with older versions of Node
This commit is contained in:
@@ -113,7 +113,7 @@ class WhatsAppWeb {
|
||||
participant: json.participant,
|
||||
timestamp: new Date (json.t*1000),
|
||||
ids: ids,
|
||||
type: ackTypes[json.ack-1] ?? "unknown (" + json.ack + ")"
|
||||
type: ackTypes[json.ack-1] || "unknown (" + json.ack + ")"
|
||||
}
|
||||
callback (data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user