Remove test code

This commit is contained in:
yflory
2019-05-27 17:55:28 +02:00
parent 2e96f13d0c
commit 5512d1fab7
3 changed files with 0 additions and 43 deletions

View File

@@ -71,20 +71,6 @@ define([
evTitleChange.fire(title);
if (titleUpdated) {
titleUpdated(undefined, title);
// XXX Test notifications from inner
var users = metadataMgr.getMetadata().users;
var me = metadataMgr.getNetfluxId();
Object.keys(users).forEach(function (netfluxId) {
if (netfluxId === me) { return; }
var user = users[netfluxId];
if (!user.curvePublic || !user.notifications) { return; }
Common.mailbox.sendTo("TEST_NOTIF_TITLE", {
new_title: title
}, {
channel: user.notifications,
curvePublic: user.curvePublic
});
});
}
});
});