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 6c39ff1 commit be164f6Copy full SHA for be164f6
1 file changed
src/Client.js
@@ -537,8 +537,8 @@ class Client extends EventEmitter {
537
/** @type {GroupNotification} object does not provide enough information about this event, so a @type {Message} object is used. */
538
const message = new Message(this, msg);
539
540
- let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
541
- 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];
542
543
/**
544
* Emitted when a contact or a group participant changes their phone number.
0 commit comments