We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84ad04 commit a8f38eaCopy full SHA for a8f38ea
src/Socket/messages-recv.ts
@@ -709,21 +709,6 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
709
const from = jidNormalizedUser(node.attrs.from)
710
711
switch (nodeType) {
712
- case 'privacy_token':
713
- const tokenList = getBinaryNodeChildren(child, 'token')
714
- for (const { attrs, content } of tokenList) {
715
- const jid = attrs.jid
716
- ev.emit('chats.update', [
717
- {
718
- id: jid,
719
- tcToken: content as Buffer
720
- }
721
- ])
722
-
723
- logger.debug({ jid }, 'got privacy token update')
724
725
726
- break
727
case 'newsletter':
728
await handleNewsletterNotification(node)
729
break
0 commit comments