|
@@ -293,7 +293,7 @@ converse.plugins.add('converse-muc', {
|
|
|
'from': _converse.connection.jid,
|
|
|
'to': this.getRoomJIDAndNick(nick)
|
|
|
}).c("x", {'xmlns': Strophe.NS.MUC})
|
|
|
- .c("history", {'maxstanzas': this.get('mam_enabled') ? 0 : _converse.muc_history_max_stanzas}).up();
|
|
|
+ .c("history", {'maxstanzas': this.features.get('mam_enabled') ? 0 : _converse.muc_history_max_stanzas}).up();
|
|
|
if (password) {
|
|
|
stanza.cnode(Strophe.xmlElement("password", [], password));
|
|
|
}
|