minor
This commit is contained in:
parent
8879ef3f02
commit
4e7a804ef1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user