Fix an issue with the notifications in secure pads
This commit is contained in:
@@ -871,7 +871,7 @@ define([
|
|||||||
if (netfluxIds.indexOf(u) === -1) {
|
if (netfluxIds.indexOf(u) === -1) {
|
||||||
var temp = JSON.parse(JSON.stringify(oldUserData[u]));
|
var temp = JSON.parse(JSON.stringify(oldUserData[u]));
|
||||||
delete oldUserData[u];
|
delete oldUserData[u];
|
||||||
if (temp.uid === newdata[userNetfluxId].uid) { return; }
|
if (temp && newdata[userNetfluxId] && temp.uid === newdata[userNetfluxId].uid) { return; }
|
||||||
if (userPresent(u, temp, newdata || oldUserData) < 1) {
|
if (userPresent(u, temp, newdata || oldUserData) < 1) {
|
||||||
notify(-1, temp.name);
|
notify(-1, temp.name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user