From 385c5f3298dd4571254fcbeae65679e36d4c8b0c Mon Sep 17 00:00:00 2001 From: ycc Date: Fri, 29 Mar 2024 18:16:34 +0100 Subject: [PATCH] Remove temporary patch for generating UUID in Identity.Save() function --- client/identity.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/identity.go b/client/identity.go index 4f55f65..3d81b82 100644 --- a/client/identity.go +++ b/client/identity.go @@ -181,10 +181,6 @@ func (id *Identity) Save() error { if GetConfig().IdentityFile == "" { return errors.New("identity filename empty") } - //! temp patch - if id.Uuid == "" { - id.Uuid = uuid.New().String() - } b, _ := json.Marshal(id) armor, err := helper.EncryptMessageWithPassword([]byte(GetConfig().memoryPassword), string(b)) if err != nil {