conversation_request cleanup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2024-01-14 15:49:24 +01:00
parent 48b2e78b41
commit 44661de993
4 changed files with 204 additions and 213 deletions

View File

@ -235,7 +235,7 @@ func (id *Identity) GetRequestJobs() []*RequestsJob {
}
// todo add garbage
// todo reorder shit
// todo random reorder
// build list
for _, value := range srvs {

View File

@ -33,6 +33,7 @@ func (pl *PeerList) GetFromName(name string) *Peer {
return nil
}
// ! Wrong implementation, does not discriminate on different servers
func (pl *PeerList) GetConversationRequests() []*meowlib.ConversationRequest {
var list []*meowlib.ConversationRequest
for _, peer := range *pl {