invitation id propagation in answer

This commit is contained in:
ycc 2022-12-05 19:20:00 +01:00
parent 023a3c701a
commit d41873f9f3

View File

@ -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)