浏览代码

Don't send `<show>online</show>` joining a MUC

JC Brand 3 年之前
父节点
当前提交
727bad01c7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/headless/plugins/muc/muc.js

+ 1 - 1
src/headless/plugins/muc/muc.js

@@ -208,7 +208,7 @@ const ChatRoomMixin = {
         stanza.up(); // Go one level up, out of the `x` element.
 
         const status = _converse.xmppstatus.get('status');
-        if (['away', 'chat', 'dnd', 'online', 'xa'].includes(status)) {
+        if (['away', 'chat', 'dnd', 'xa'].includes(status)) {
             stanza.c('show').t(status).up();
         }
         const status_message = _converse.xmppstatus.get('status_message');