From 4e7a804ef1ade1b3ff7a8b406b3f9aa991923c45 Mon Sep 17 00:00:00 2001 From: ycc Date: Fri, 16 Dec 2022 22:29:12 +0100 Subject: [PATCH] minor --- client/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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