Update the profile page when receiving a answer for a friend request

This commit is contained in:
yflory
2019-05-27 16:03:10 +02:00
parent 36aa07adab
commit 6370c0eeae
2 changed files with 8 additions and 0 deletions

View File

@@ -134,6 +134,9 @@ define([
profile.removeClient = function (clientId) {
removeClient(ctx, clientId);
};
profile.update = function () {
ctx.emit('UPDATE', ctx.listmap.proxy, ctx.clients);
};
profile.execCommand = function (clientId, obj, cb) {
console.log(obj);
var cmd = obj.cmd;