From eeb8210ff6107392b9e6882e8e09cc1208010968 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 7 Oct 2015 08:07:05 +0000 Subject: [PATCH] Fixes #496. Bind converse to this in callback. --- converse.js | 2 +- docs/CHANGES.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/converse.js b/converse.js index 22661b3e9..74a22005c 100644 --- a/converse.js +++ b/converse.js @@ -822,7 +822,7 @@ return this.ping(); } return true; - }); + }.bind(converse)); } }; diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 0a2c31fb3..b1cd3a989 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -7,6 +7,7 @@ Changelog * #462 Fix MUC rooms with names containing special characters not working [1st8] * #468 Fix [object Object] being sometimes shown as status [1st8] * #493 Roster wasn't being updated after a Roster push update [teseo, jcbrand] +* #496 Bugfix. Pings weren't being sent out. [teseo, jcbrand] 0.9.5 (2015-08-24) ------------------