normalize jid before profile picture

This commit is contained in:
Adhiraj Singh
2021-09-27 15:58:12 +05:30
parent 34ee9647d3
commit 07561bec53

View File

@@ -215,6 +215,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
}
const profilePictureUrl = async(jid: string) => {
jid = jidNormalizedUser(jid)
const result = await query({
tag: 'iq',
attrs: {