mirror of
https://github.com/moparisthebest/kaiwa
synced 2025-01-11 13:48:42 -05:00
Add support for keepalives (ping or 198)
This commit is contained in:
parent
9dc5757e9b
commit
09bba450de
@ -136,6 +136,10 @@ module.exports = function (client, app) {
|
||||
|
||||
me.mucs.fetch();
|
||||
});
|
||||
|
||||
var keepalive;
|
||||
keepalive = JSON.parse(localStorage.keepalive || '{}');
|
||||
client.enableKeepAlive(keepalive);
|
||||
});
|
||||
|
||||
client.on('roster:update', function (iq) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "otalk.im",
|
||||
"version": "0.0.24",
|
||||
"version": "0.0.25",
|
||||
"description": "Otalk: WebRTC Enabled XMPP Client, in the Browser",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -28,7 +28,7 @@
|
||||
"oembed": "0.1.0",
|
||||
"semi-static": "0.0.4",
|
||||
"sound-effect-manager": "0.0.5",
|
||||
"stanza.io": "3.0.6",
|
||||
"stanza.io": "3.1.1",
|
||||
"staydown": "1.0.3",
|
||||
"templatizer": "0.1.2",
|
||||
"underscore": "1.5.1",
|
||||
|
Loading…
Reference in New Issue
Block a user