From 3cc8b5eb83a9078afb143bf14c2db367b208eaf5 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 20 Sep 2019 16:49:38 +0200 Subject: [PATCH] Fix roster.stop fix --- www/common/outer/roster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/roster.js b/www/common/outer/roster.js index ae07f9b1c..b9e2159f9 100644 --- a/www/common/outer/roster.js +++ b/www/common/outer/roster.js @@ -407,7 +407,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) { var webChannel; roster.stop = function () { - if (ref.internal.cpNetflux && typeof(ref.internal.cpNetflux) === "function") { + if (ref.internal.cpNetflux && typeof(ref.internal.cpNetflux.stop) === "function") { ref.internal.cpNetflux.stop(); clearPendingCheckpoints(); } else {