Commit 06352b67 authored by JC Brand's avatar JC Brand

Fix AttributeError

parent 0b8a63d5
...@@ -1956,7 +1956,7 @@ ...@@ -1956,7 +1956,7 @@
function featureAdded (feature) { function featureAdded (feature) {
if (!feature) { return; } if (!feature) { return; }
if (feature.get('var') === Strophe.NS.MUC) { if (feature.get('var') === Strophe.NS.MUC) {
feature.getIdentity('conference', 'text').then(identity => { feature.entity.getIdentity('conference', 'text').then(identity => {
if (identity) { if (identity) {
setMUCDomain(feature.get('from'), controlboxview); setMUCDomain(feature.get('from'), controlboxview);
} }
......
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