From 9b4754ece88cd546534cf0451b1595555f303bde Mon Sep 17 00:00:00 2001 From: jbhusson <jonah@elixxir.io> Date: Tue, 28 Jun 2022 17:45:09 -0400 Subject: [PATCH] Fix from merge --- xxdk/e2e.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxdk/e2e.go b/xxdk/e2e.go index 0a58b8af5..157f0e668 100644 --- a/xxdk/e2e.go +++ b/xxdk/e2e.go @@ -164,8 +164,6 @@ func LoginWithProtoClient(storageDir string, password []byte, return nil, err } - c.network.AddIdentity(c.GetUser().ReceptionID, time.Time{}, true) - // FIXME: The callbacks need to be set, so I suppose we would need to // either set them via a special type or add them // to the login call? @@ -206,6 +204,8 @@ func login(client *Cmix, callbacks auth.Callbacks, e2eIdentity: identity, } + client.network.AddIdentity(identity.ID, time.Time{}, true) + //initialize the e2e storage err = e2e.Init(kv, identity.ID, identity.DHKeyPrivate, e2eGrp, rekey.GetDefaultEphemeralParams()) -- GitLab