fix: Connection error when add @ at start of your name (#1536)

This commit is contained in:
vini
2025-06-21 12:37:36 -03:00
committed by GitHub
parent 482db6edc5
commit 8b6ea34b07

View File

@@ -632,7 +632,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
await sendNode({ await sendNode({
tag: 'presence', tag: 'presence',
attrs: { attrs: {
name: me.name, name: me.name.replace(/@/g, ''),
type type
} }
}) })