From d0acd429922c8498d7c0f2893068b9aa48f9f001 Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Thu, 25 Sep 2025 23:53:05 +0300 Subject: [PATCH] lid-mapping: remove redundant logic --- src/Signal/lid-mapping.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Signal/lid-mapping.ts b/src/Signal/lid-mapping.ts index aae42d2f..5cdaa398 100644 --- a/src/Signal/lid-mapping.ts +++ b/src/Signal/lid-mapping.ts @@ -46,10 +46,8 @@ export class LIDMappingStore { continue } - const [lidJid, pnJid] = isLidUser(lid) ? [lid, pn] : [pn, lid] - - const lidDecoded = jidDecode(lidJid) - const pnDecoded = jidDecode(pnJid) + const lidDecoded = jidDecode(lid) + const pnDecoded = jidDecode(pn) if (!lidDecoded || !pnDecoded) return