From 851f6db7fbfc2a08cef5581eb969b6a59faa00e5 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 23 Sep 2019 17:52:15 +0200 Subject: [PATCH] Fix type error in messenger --- www/common/outer/messenger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/outer/messenger.js b/www/common/outer/messenger.js index 43b313f3b..a7ef27837 100644 --- a/www/common/outer/messenger.js +++ b/www/common/outer/messenger.js @@ -891,10 +891,10 @@ define([ onDirectMessage(ctx, msg, sender); }); ctx.store.network.on('disconnect', function () { - ctx.emit('DISCONNECT', null, getAllClients()); + ctx.emit('DISCONNECT', null, getAllClients(ctx)); }); ctx.store.network.on('reconnect', function () { - ctx.emit('RECONNECT', null, getAllClients()); + ctx.emit('RECONNECT', null, getAllClients(ctx)); }); messenger.onFriendUpdate = function (curve) {