chore: minor code cleanup
This commit is contained in:
+4
-3
@@ -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