2
0
Эх сурвалжийг харах

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

JC Brand 3 жил өмнө
parent
commit
727bad01c7

+ 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');