Keep cloned data when accepting team invitation
This commit is contained in:
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…
x
Reference in New Issue
Block a user