From d41873f9f36d2c3f2c8afe18c1f57955fd290fa4 Mon Sep 17 00:00:00 2001 From: ycc Date: Mon, 5 Dec 2022 19:20:00 +0100 Subject: [PATCH] invitation id propagation in answer --- client/identity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/identity.go b/client/identity.go index 222a9d1..11792d8 100644 --- a/client/identity.go +++ b/client/identity.go @@ -90,7 +90,7 @@ func (id *Identity) AnswerInvitation(MyName string, ContactName string, MessageS myContactCard.ContactPublicKey = peer.MyIdentity.Public myContactCard.EncryptionPublicKey = peer.MyEncryptionKp.Public myContactCard.LookupPublicKey = peer.MyLookupKp.Public - myContactCard.InvitationId = peer.InvitationId + myContactCard.InvitationId = ReceivedContact.InvitationId id.Peers = append(id.Peers, peer)