Fix type error in messenger

pull/1/head
yflory 2019-09-23 17:52:15 +02:00
parent 9f597dac1f
commit 851f6db7fb
1 changed files with 2 additions and 2 deletions

View File

@ -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) {