Commit 364a06b0111f42396c8f1ed2c3a888bd556f44d1

Authored by OpenWapp Developer
1 parent 01dac7fad1

Fix picture_getIds → 501: feature not implemented, by Adán Sanchez, from Loqui

Showing 1 changed file with 3 additions and 3 deletions

src/yowsup_if.js View file @ 364a06b
... ... @@ -1669,9 +1669,9 @@
1669 1669 innerNodeChildren.push(newProtocolTreeNode('user', {jid: aJid}));
1670 1670 });
1671 1671  
1672   - var queryNode = newProtocolTreeNode('list', {xmlns: 'w:profile:picture'},
1673   - innerNodeChildren);
1674   - var iqNode = newProtocolTreeNode('iq', {id: idx, type: 'get'}, [queryNode]);
  1672 + var queryNode = newProtocolTreeNode('list', {}, innerNodeChildren);
  1673 + var iqNode = newProtocolTreeNode('iq', {id: idx, type: 'get',
  1674 + xmlns: 'w:profile:picture'}, [queryNode]);
1675 1675  
1676 1676 self._writeNode(iqNode);
1677 1677 },