diff --git a/client/message.go b/client/message.go index 7071b80..2b78d02 100644 --- a/client/message.go +++ b/client/message.go @@ -79,7 +79,7 @@ func ProcessServerResponse(srv *InternalServer, msg []byte) (*meowlib.FromServer return fsmsg, nil } -func ProcessUserMessage(peer Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) { +func ProcessUserMessage(peer *Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) { dec, err := peer.AsymDecryptMessage(message, signature) if err != nil { return nil, err