mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: Connection error when add @ at start of your name (#1536)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user