Fix AttributeError

This commit is contained in:
JC Brand 2018-09-07 14:49:11 +02:00
parent 0b8a63d5d8
commit 06352b67c1

View File

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