|
|
@ -281,7 +281,6 @@ define([
|
|
|
|
if (mailbox) { // Friend
|
|
|
|
if (mailbox) { // Friend
|
|
|
|
if (friends[curve] && !mailbox.notifications) { return; }
|
|
|
|
if (friends[curve] && !mailbox.notifications) { return; }
|
|
|
|
if (mailbox.notifications && mailbox.curvePublic) {
|
|
|
|
if (mailbox.notifications && mailbox.curvePublic) {
|
|
|
|
// XXX we should mark this notification as "viewed" in our own proxy
|
|
|
|
|
|
|
|
common.mailbox.sendTo("SHARE_PAD", {
|
|
|
|
common.mailbox.sendTo("SHARE_PAD", {
|
|
|
|
href: href,
|
|
|
|
href: href,
|
|
|
|
password: config.password,
|
|
|
|
password: config.password,
|
|
|
@ -289,6 +288,7 @@ define([
|
|
|
|
name: myName,
|
|
|
|
name: myName,
|
|
|
|
title: title
|
|
|
|
title: title
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
|
|
|
|
viewed: team && team.id,
|
|
|
|
channel: mailbox.notifications,
|
|
|
|
channel: mailbox.notifications,
|
|
|
|
curvePublic: mailbox.curvePublic
|
|
|
|
curvePublic: mailbox.curvePublic
|
|
|
|
});
|
|
|
|
});
|
|
|
|