We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fecad commit a4e4d9eCopy full SHA for a4e4d9e
1 file changed
src/Client.js
@@ -534,8 +534,8 @@ class Client extends EventEmitter {
534
/** @type {GroupNotification} object does not provide enough information about this event, so a @type {Message} object is used. */
535
const message = new Message(this, msg);
536
537
- let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
538
- let oldId = isParticipant ? msg.author : msg._data.templateParams[0];
+ const newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
+ const oldId = isParticipant ? msg.author : msg._data.templateParams[0];
539
540
/**
541
* Emitted when a contact or a group participant changes their phone number.
0 commit comments