With keepalive, don't send out a presence stanza on each page load.

This commit is contained in:
JC Brand 2015-06-27 07:32:01 +02:00
parent 9f7174dedc
commit 14c868f134
2 changed files with 1 additions and 4 deletions

View File

@ -4555,10 +4555,6 @@
success: function (collection) { success: function (collection) {
if (collection.length > 0) { if (collection.length > 0) {
converse.initial_presence_sent = 1; converse.initial_presence_sent = 1;
// XXX: Should we actually send the presence here?
// This means the presence is sent on every
// page load.
converse.xmppstatus.sendPresence();
} else { } else {
// We don't have any roster contacts stored // We don't have any roster contacts stored
// in sessionStorage, so lets fetch the // in sessionStorage, so lets fetch the

View File

@ -30,6 +30,7 @@ Changelog
* Decouple automatic away and XEP-0352 support. [jcbrand] * Decouple automatic away and XEP-0352 support. [jcbrand]
* CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti] * CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti]
* Add offline pretty status to enable translation [thierrytiti] * Add offline pretty status to enable translation [thierrytiti]
* With keepalive, don't send out a presence stanza on each page load [jcbrand]
0.9.3 (2015-05-01) 0.9.3 (2015-05-01)
------------------ ------------------