fix: correct verify

This commit is contained in:
Adhiraj Singh
2022-01-22 14:57:59 +05:30
parent 1f2a6641f3
commit b68efb15b6

View File

@@ -209,7 +209,7 @@ const makeChatsSocket = (config: LegacySocketConfig) => {
id: jidNormalizedUser(attrs.jid),
name: attrs.name,
notify: attrs.notify,
verifiedName: attrs.vname
verifiedName: attrs.verify === '2' ? attrs.vname : undefined
}
})