Skip to content

Commit

Permalink
fix error message send Rhymen#566
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo authored and Leonardo committed Jun 10, 2021
1 parent 3c094eb commit 3e3bf0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ func (wac *Conn) Send(msg interface{}) (string, error) {
default:
return "ERROR", fmt.Errorf("cannot match type %T, use message types declared in the package", msg)
}

status := proto.WebMessageInfo_PENDING
msgProto.Status = &status
ch, err := wac.sendProto(msgProto)
if err != nil {
return "ERROR", fmt.Errorf("could not send proto: %v", err)
Expand Down

0 comments on commit 3e3bf0a

Please sign in to comment.