mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: minor code cleanup
This commit is contained in:
@@ -680,11 +680,12 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
|
||||
ev.on('connection.update', ({ connection }) => {
|
||||
if(connection === 'open') {
|
||||
sendPresenceUpdate('available')
|
||||
fetchBlocklist()
|
||||
fetchPrivacySettings()
|
||||
fetchAbt()
|
||||
fetchProps()
|
||||
fetchBlocklist()
|
||||
fetchPrivacySettings()
|
||||
|
||||
sendPresenceUpdate('available')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -401,7 +401,7 @@ export const makeSocket = ({
|
||||
{
|
||||
tag: 'remove-companion-device',
|
||||
attrs: {
|
||||
jid: jid,
|
||||
jid,
|
||||
reason: 'user_initiated'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user