From fccb32b0b16a6f5859e361eebe60ea5f9cd524ca Mon Sep 17 00:00:00 2001 From: ycc Date: Fri, 16 Dec 2022 22:16:35 +0100 Subject: [PATCH] param mistake --- client/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/peer.go b/client/peer.go index 069d652..20540b6 100644 --- a/client/peer.go +++ b/client/peer.go @@ -59,7 +59,7 @@ func (pl *PeerList) GetFromName(name string) *Peer { return nil } -func (pl *PeerList) GetConversationRequests(name string) []*meowlib.ToServerMessage_ConversationRequest { +func (pl *PeerList) GetConversationRequests() []*meowlib.ToServerMessage_ConversationRequest { var list []*meowlib.ToServerMessage_ConversationRequest for _, peer := range *pl { var cr meowlib.ToServerMessage_ConversationRequest