Skip to content

Commit 0a4b8d2

Browse files
committed
fix: transform any string on number to Lower Case, for not show reading id of undefined
1 parent acad895 commit 0a4b8d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,8 @@ export class BaileysStartupService extends ChannelStartupService {
16761676
ephemeralExpiration?: number,
16771677
// participants?: GroupParticipant[],
16781678
) {
1679+
sender = sender.toLowerCase();
1680+
16791681
const option: any = {
16801682
quoted,
16811683
};

0 commit comments

Comments
 (0)