From 04370b259dd94bd835fa9b478a43d68e4a5c10c3 Mon Sep 17 00:00:00 2001 From: Bob <115008575+bobpetrov@users.noreply.github.com> Date: Sat, 23 Dec 2023 21:56:59 -0300 Subject: [PATCH] fix lint --- src/Socket/messages-recv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 27f6aca..4daa9d2 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -397,7 +397,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { for(const { attrs } of blocklists) { const blocklist = [attrs.jid] - const type = (attrs.action === 'block') ? 'add' : 'remove' + const type = attrs.action === 'block' ? 'add' : 'remove' ev.emit('blocklist.update', { blocklist, type }) } }