chore: minor code cleanup

This commit is contained in:
Adhiraj Singh
2022-03-14 19:38:01 +05:30
parent 1c77c00be5
commit 2b10b7b18f
4 changed files with 11 additions and 6 deletions

View File

@@ -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')
}
})

View File

@@ -401,7 +401,7 @@ export const makeSocket = ({
{
tag: 'remove-companion-device',
attrs: {
jid: jid,
jid,
reason: 'user_initiated'
}
}