JC Brand 6 年之前
父节点
当前提交
9d3dfa831a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/headless/converse-core.js

+ 1 - 1
src/headless/converse-core.js

@@ -1060,7 +1060,7 @@ _converse.initialize = async function (settings, callback) {
         /* Ask the XMPP server to enable Message Carbons
          * See XEP-0280 https://xmpp.org/extensions/xep-0280.html#enabling
          */
-        if (!this.message_carbons || !this.session || !this.session.get('carbons_enabled')) {
+        if (!this.message_carbons || !this.session || this.session.get('carbons_enabled')) {
             return;
         }
         const carbons_iq = new Strophe.Builder('iq', {