Don't send user updates to friends via chat if you know their mailbox
This commit is contained in:
@@ -153,6 +153,9 @@ define([
|
||||
Object.keys(msg.content).forEach(function (key) {
|
||||
friend[key] = msg.content[key];
|
||||
});
|
||||
if (ctx.store.messenger) {
|
||||
ctx.store.messenger.onFriendUpdate(curve, friend);
|
||||
}
|
||||
ctx.updateMetadata();
|
||||
cb(true);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user