Преглед на файлове

Fixes #1117

Silently set status when it comes from a presence stanza
JC Brand преди 6 години
родител
ревизия
48dc02cf3a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {