Silently set status when it comes from a presence stanza
This commit is contained in:
JC Brand 2018-09-18 14:04:50 +02:00
parent d754820471
commit 48dc02cf3a

View File

@ -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) {