Fix type error in messenger

pull/1/head
yflory 5 years ago
parent 9f597dac1f
commit 851f6db7fb

@ -891,10 +891,10 @@ define([
onDirectMessage(ctx, msg, sender); onDirectMessage(ctx, msg, sender);
}); });
ctx.store.network.on('disconnect', function () { ctx.store.network.on('disconnect', function () {
ctx.emit('DISCONNECT', null, getAllClients()); ctx.emit('DISCONNECT', null, getAllClients(ctx));
}); });
ctx.store.network.on('reconnect', function () { ctx.store.network.on('reconnect', function () {
ctx.emit('RECONNECT', null, getAllClients()); ctx.emit('RECONNECT', null, getAllClients(ctx));
}); });
messenger.onFriendUpdate = function (curve) { messenger.onFriendUpdate = function (curve) {

Loading…
Cancel
Save