Fix an issue with the notifications in secure pads

pull/1/head
yflory 7 years ago
parent ec64ac485d
commit b6881349be

@ -871,7 +871,7 @@ define([
if (netfluxIds.indexOf(u) === -1) {
var temp = JSON.parse(JSON.stringify(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) {
notify(-1, temp.name);
}

Loading…
Cancel
Save