Procházet zdrojové kódy

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

JC Brand před 3 roky
rodič
revize
727bad01c7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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');