Keep cloned data when accepting team invitation

pull/1/head
yflory 5 years ago
parent 7db7db262c
commit 1826d05e31

@ -451,7 +451,6 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
// copy the new profile from the old one // copy the new profile from the old one
members[curve] = Util.clone(members[author]); members[curve] = Util.clone(members[author]);
members[curve].curvePublic = curve;
// and erase the old one // and erase the old one
delete members[author]; delete members[author];
return true; return true;

Loading…
Cancel
Save