Skip to content

Commit 7b969c2

Browse files
khsohpurpshell
andcommitted
Update src/Client.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
1 parent a1ae58d commit 7b969c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ class Client extends EventEmitter {
506506
/** @type {GroupNotification} object does not provide enough information about this event, so a @type {Message} object is used. */
507507
const message = new Message(this, msg);
508508

509-
let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
510-
let oldId = isParticipant ? msg.author : msg._data.templateParams[0];
509+
const newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
510+
const oldId = isParticipant ? msg.author : msg._data.templateParams[0];
511511

512512
/**
513513
* Emitted when a contact or a group participant changes their phone number.

0 commit comments

Comments
 (0)