|
|
@ -1080,6 +1080,11 @@ define([
|
|
|
|
if (data.teamId && s.id !== data.teamId) { return; }
|
|
|
|
if (data.teamId && s.id !== data.teamId) { return; }
|
|
|
|
if (storeLocally && s.id) { return; }
|
|
|
|
if (storeLocally && s.id) { return; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// If this is an edit link but we don't have edit rights, this entry is not useful
|
|
|
|
|
|
|
|
if (h.mode === "edit" && !s.secondaryKey) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var res = s.manager.findChannel(channel, true);
|
|
|
|
var res = s.manager.findChannel(channel, true);
|
|
|
|
if (res.length) {
|
|
|
|
if (res.length) {
|
|
|
|
sendTo.push(s.id);
|
|
|
|
sendTo.push(s.id);
|
|
|
|