Ver Fonte

Fixes #1117

Silently set status when it comes from a presence stanza
JC Brand há 6 anos atrás
pai
commit
48dc02cf3a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/converse-roster.js

+ 1 - 1
src/converse-roster.js

@@ -702,7 +702,7 @@
                         // synchronize_availability option set to update,
                         // we'll update ours as well.
                         const show = _.propertyOf(presence.querySelector('show'))('textContent') || 'online';
-                        _converse.xmppstatus.save({'status': show});
+                        _converse.xmppstatus.save({'status': show}, {'silent': true});
 
                         const status_message = _.propertyOf(presence.querySelector('status'))('textContent');
                         if (status_message) {