Fix issue with loading contact cards from peer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc 2024-02-10 23:30:29 +01:00
parent bcb3489de4
commit a19f228c8e

View File

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