diff --git a/client/message.go b/client/message.go index 0f7c3a3..1ceebb6 100644 --- a/client/message.go +++ b/client/message.go @@ -45,7 +45,7 @@ func ProcessOutboundTextMessage(peer *Peer, text string, srv *InternalServer) ([ } // TODO refactor protobuf to avid 2 methods -func ProcessOutboundMessage(peer *Peer, toServerMessage *meowlib.ToServerMessage, srv *InternalServer) ([]byte, error) { +func ProcessOutboundMessage(toServerMessage *meowlib.ToServerMessage, srv *InternalServer) ([]byte, error) { byteToServerMessage, err := proto.Marshal(toServerMessage) if err != nil { return nil, err