From 8b6ea34b0721250807760f35d95d619b27a81006 Mon Sep 17 00:00:00 2001 From: vini <91087061+vinikjkkj@users.noreply.github.com> Date: Sat, 21 Jun 2025 12:37:36 -0300 Subject: [PATCH] fix: Connection error when add @ at start of your name (#1536) --- src/Socket/chats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 363f6d9..ab5b2b3 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -632,7 +632,7 @@ export const makeChatsSocket = (config: SocketConfig) => { await sendNode({ tag: 'presence', attrs: { - name: me.name, + name: me.name.replace(/@/g, ''), type } })