Don't send a notification to yourself when removing an owner
parent
9c68714018
commit
2051f38f25
|
@ -110,7 +110,8 @@ define([
|
|||
}));
|
||||
}).nThen(function (waitFor) {
|
||||
var curve = $el.attr('data-curve');
|
||||
var friend = curve === user.curvePublic ? user : friends[curve];
|
||||
if (curve === user.curvePublic) { return; }
|
||||
var friend = friends[curve];
|
||||
if (!friend) { return; }
|
||||
common.mailbox.sendTo("RM_OWNER", {
|
||||
channel: channel,
|
||||
|
|
Loading…
Reference in New Issue