Realtime update of the friendship status in the profile

This commit is contained in:
yflory
2019-05-27 17:51:55 +02:00
parent 6370c0eeae
commit c3e9b51f76
5 changed files with 41 additions and 11 deletions

View File

@@ -135,6 +135,7 @@ define([
removeClient(ctx, clientId);
};
profile.update = function () {
if (!ctx.listmap) { return; }
ctx.emit('UPDATE', ctx.listmap.proxy, ctx.clients);
};
profile.execCommand = function (clientId, obj, cb) {