server store invitation answer by lookupkey + refactor background check
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-03-28 18:41:30 +01:00
parent 4b412ae0f3
commit ead810e666
3 changed files with 67 additions and 62 deletions

View File

@ -262,6 +262,7 @@ func (id *Identity) GetRequestJobs() []*RequestsJob {
}
// add ids to the map
for _, peer := range id.Peers {
// check if peer inviation is accepted
for _, server := range peer.MyPullServers {
srvs[server].LookupKeys = append(srvs[server].LookupKeys, peer.MyLookupKp)
}