diff --git a/client/peer.go b/client/peer.go index e97530a..069d652 100644 --- a/client/peer.go +++ b/client/peer.go @@ -59,13 +59,13 @@ func (pl *PeerList) GetFromName(name string) *Peer { return nil } -func (pl *PeerList) GetConversationRequests(name string) []meowlib.ToServerMessage_ConversationRequest { - var list []meowlib.ToServerMessage_ConversationRequest +func (pl *PeerList) GetConversationRequests(name string) []*meowlib.ToServerMessage_ConversationRequest { + var list []*meowlib.ToServerMessage_ConversationRequest for _, peer := range *pl { var cr meowlib.ToServerMessage_ConversationRequest cr.LookupKey = peer.MyLookupKp.Public // TODO Add key signature - list = append(list, cr) + list = append(list, &cr) } return list }