Keep cloned data when accepting team invitation

pull/1/head
yflory 2019-12-18 16:58:02 +01:00
parent 7db7db262c
commit 1826d05e31
1 changed files with 0 additions and 1 deletions

View File

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