Don't send <show>online</show>
joining a MUC
This commit is contained in:
parent
b248803a4b
commit
727bad01c7
@ -208,7 +208,7 @@ const ChatRoomMixin = {
|
|||||||
stanza.up(); // Go one level up, out of the `x` element.
|
stanza.up(); // Go one level up, out of the `x` element.
|
||||||
|
|
||||||
const status = _converse.xmppstatus.get('status');
|
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();
|
stanza.c('show').t(status).up();
|
||||||
}
|
}
|
||||||
const status_message = _converse.xmppstatus.get('status_message');
|
const status_message = _converse.xmppstatus.get('status_message');
|
||||||
|
Loading…
Reference in New Issue
Block a user