Update the friends when changing the username or avatar

This commit is contained in:
yflory
2019-06-05 18:23:15 +02:00
parent 250d9f3bc6
commit 9b5104c59e
3 changed files with 25 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ define([
Object.keys(msg.content).forEach(function (key) {
friend[key] = msg.content[key];
});
ctx.updateMetadata();
cb(true);
};