mirror of
https://github.com/vacp2p/dasy.git
synced 2026-01-08 22:37:59 -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
|
return id, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// onReceive handles lower level message receiving logic, such as requesting all previous message dependencies that we
|
// onReceive handles lower level message receiving logic
|
||||||
// may not have, as well as unmarshalling and storing the message.
|
|
||||||
func (c *Client) onReceive(message mvdsproto.Message) {
|
func (c *Client) onReceive(message mvdsproto.Message) {
|
||||||
var msg protobuf.Message
|
var msg protobuf.Message
|
||||||
err := proto.Unmarshal(message.Body, &msg)
|
err := proto.Unmarshal(message.Body, &msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user