mirror of
https://github.com/vacp2p/dasy.git
synced 2026-01-08 06:23:51 -05:00
Update client.go
This commit is contained in:
@@ -118,8 +118,7 @@ func (c *Client) send(chat Chat, t protobuf.Message_MessageType, body []byte) (s
|
||||
return id, nil
|
||||
}
|
||||
|
||||
// onReceive handles lower level message receiving logic, such as requesting all previous message dependencies that we
|
||||
// may not have, as well as unmarshalling and storing the message.
|
||||
// onReceive handles lower level message receiving logic
|
||||
func (c *Client) onReceive(message mvdsproto.Message) {
|
||||
var msg protobuf.Message
|
||||
err := proto.Unmarshal(message.Body, &msg)
|
||||
|
||||
Reference in New Issue
Block a user