Hello ,
We are implementing Avatar Publish(0084 XMPP).
Do you have any idea, what is sha_key ?
How can we generate in javascript ?
`var iq = $iq({
// type: 'set',
// }).c('pubsub', {
// xmlns: '
http://jabber.org/protocol/pubsub'
// }).c('publish', {
// node: 'urn:xmpp:avatar:data'
// }).c('item', {
// id: sha_key
// }).c('data',dataURL.replace(/^data:image\/(png|jpg|jpeg);base64,/, ''), {
// xmlns: 'urn:xmpp:avatar:data'
// });`