diff options
Diffstat (limited to 'vendor/github.com/Rhymen/go-whatsapp/message.go')
-rw-r--r-- | vendor/github.com/Rhymen/go-whatsapp/message.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/Rhymen/go-whatsapp/message.go b/vendor/github.com/Rhymen/go-whatsapp/message.go index cbcb93b4..1acf881b 100644 --- a/vendor/github.com/Rhymen/go-whatsapp/message.go +++ b/vendor/github.com/Rhymen/go-whatsapp/message.go @@ -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) |