Browse Source

Fixes issue in merging pings.

master
paweldomas 10 years ago
parent
commit
74db61c4d7
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/xmpp/xmpp.js

+ 2
- 1
modules/xmpp/xmpp.js View File

@@ -113,7 +113,8 @@ XMPP.prototype._connect = function (jid, password) {
113 113
 
114 114
             logger.info("My Jabber ID: " + self.connection.jid);
115 115
 
116
-            self.connection.ping.startInterval(config.hosts.domain);
116
+            self.connection.ping.startInterval(
117
+                Strophe.getDomainFromJid(self.connection.jid));
117 118
             
118 119
             if (password)
119 120
                 authenticatedUser = true;

Loading…
Cancel
Save