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 a1ae58d commit 7b969c2Copy full SHA for 7b969c2
1 file changed
src/Client.js
@@ -506,8 +506,8 @@ class Client extends EventEmitter {
506
/** @type {GroupNotification} object does not provide enough information about this event, so a @type {Message} object is used. */
507
const message = new Message(this, msg);
508
509
- let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
510
- 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];
511
512
/**
513
* Emitted when a contact or a group participant changes their phone number.
0 commit comments