Skip to content

Commit be164f6

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

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

540-
let newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
541-
let oldId = isParticipant ? msg.author : msg._data.templateParams[0];
540+
const newId = isParticipant ? msg.recipients[0] : msg._data.templateParams[1];
541+
const oldId = isParticipant ? msg.author : msg._data.templateParams[0];
542542

543543
/**
544544
* Emitted when a contact or a group participant changes their phone number.

0 commit comments

Comments
 (0)