浏览代码

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

JC Brand 10 年之前
父节点
当前提交
14c868f134
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 0 4
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 0 - 4
converse.js

@@ -4555,10 +4555,6 @@
                             success: function (collection) {
                                 if (collection.length > 0) {
                                     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 {
                                     // We don't have any roster contacts stored
                                     // in sessionStorage, so lets fetch the

+ 1 - 0
docs/CHANGES.rst

@@ -30,6 +30,7 @@ Changelog
 * Decouple automatic away and XEP-0352 support. [jcbrand]
 * CSS: Fonts Path: editabable $font-path via sass/variables.scss [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)
 ------------------