store fix + add peer invitationPending Check
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-02-25 20:15:35 +01:00
parent c4b61e16c5
commit 4b3d7548bd
5 changed files with 21 additions and 4 deletions

View File

@ -85,6 +85,13 @@ func (p *Peer) GetContact() *meowlib.ContactCard {
return &c
}
func (p *Peer) InvitationPending() bool {
if p.ContactPublicKey == "" {
return true
}
return false
}
//
// Messages building
//