Commit ca7adeed authored by JC Brand's avatar JC Brand

Save hat URI, not id

parent 1e44f45a
......@@ -727,7 +727,7 @@ const st = {
} else if (child.matches('hats') && child.getAttribute('xmlns') === Strophe.NS.MUC_HATS) {
data['hats'] = Array.from(child.children).map(c => c.matches('hat') && {
'title': c.getAttribute('title'),
'id': c.getAttribute('id')
'uri': c.getAttribute('uri')
});
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment