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')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user