From a0ff21e67c4befca21cc2c43710d870adde65aff Mon Sep 17 00:00:00 2001 From: Lindionez <85335716+lindionez@users.noreply.github.com> Date: Mon, 6 Apr 2026 12:06:48 -0300 Subject: [PATCH] fix: Whatsapp increased the number of characters in IDs, but followed the IOS standard (#201682) --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 63ae365..8ac970e 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -103,7 +103,7 @@ class Message extends Base { * @type {string} */ this.deviceType = - typeof data.id.id === 'string' && data.id.id.length > 21 + typeof data.id.id === 'string' && data.id.id.length > 25 ? 'android' : typeof data.id.id === 'string' && data.id.id.substring(0, 2) === '3A'