Skip to content

Commit a4e4d9e

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

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
@@ -534,8 +534,8 @@ class Client extends EventEmitter {
534534
/** @type {GroupNotification} object does not provide enough information about this event, so a @type {Message} object is used. */
535535
const message = new Message(this, msg);
536536

537-
let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
538-
let oldId = isParticipant ? msg.author : msg._data.templateParams[0];
537+
const newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
538+
const oldId = isParticipant ? msg.author : msg._data.templateParams[0];
539539

540540
/**
541541
* Emitted when a contact or a group participant changes their phone number.

0 commit comments

Comments
 (0)