Save hat URI, not id
This commit is contained in:
parent
1e44f45a68
commit
ca7adeedbd
@ -727,7 +727,7 @@ const st = {
|
|||||||
} else if (child.matches('hats') && child.getAttribute('xmlns') === Strophe.NS.MUC_HATS) {
|
} else if (child.matches('hats') && child.getAttribute('xmlns') === Strophe.NS.MUC_HATS) {
|
||||||
data['hats'] = Array.from(child.children).map(c => c.matches('hat') && {
|
data['hats'] = Array.from(child.children).map(c => c.matches('hat') && {
|
||||||
'title': c.getAttribute('title'),
|
'title': c.getAttribute('title'),
|
||||||
'id': c.getAttribute('id')
|
'uri': c.getAttribute('uri')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user