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)