Skip to content

Commit

Permalink
Merge pull request Rhymen#568 from leonetosoft/master
Browse files Browse the repository at this point in the history
fix error message send Rhymen#566
  • Loading branch information
beshoo authored Jun 12, 2021
2 parents c58e164 + 3e3bf0a commit 736e5b9
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 @@ -72,7 +72,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 736e5b9

Please sign in to comment.