From a19f228c8e5d756b000a47413d1332b24b981af2 Mon Sep 17 00:00:00 2001 From: ycc Date: Sat, 10 Feb 2024 23:30:29 +0100 Subject: [PATCH] Fix issue with loading contact cards from peer --- client/peer.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/peer.go b/client/peer.go index aa0c183..07d5794 100644 --- a/client/peer.go +++ b/client/peer.go @@ -58,7 +58,10 @@ func (p *Peer) GetMyContact() *meowlib.ContactCard { c.ContactPublicKey = p.MyIdentity.Public c.LookupPublicKey = p.MyLookupKp.Public c.EncryptionPublicKey = p.MyEncryptionKp.Public - // c.PullServers = p.MyPullServers + srvCards, err := GetConfig().GetIdentity().MessageServers.LoadServerCardsFromUids(p.MyPullServers) + if err != nil { + c.PullServers = srvCards + } c.InvitationId = p.InvitationId c.InvitationMessage = p.InvitationMessage c.Name = p.MyName