Explorar o código

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

JC Brand %!s(int64=3) %!d(string=hai) anos
pai
achega
727bad01c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');