diff options
author | Wim <wim@42.be> | 2019-02-23 14:14:29 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2019-02-23 14:14:29 +0100 |
commit | 5095db8a43491fd2c5859f25cbb89a3be40bef6d (patch) | |
tree | c0a5d27c29ae100e0f688048a263a838baea9f35 /vendor/github.com/Rhymen/go-whatsapp | |
parent | 1f1634ea593872a09e355b371befd27fc25c5b0a (diff) | |
download | matterbridge-msglm-5095db8a43491fd2c5859f25cbb89a3be40bef6d.tar.gz matterbridge-msglm-5095db8a43491fd2c5859f25cbb89a3be40bef6d.tar.bz2 matterbridge-msglm-5095db8a43491fd2c5859f25cbb89a3be40bef6d.zip |
Update vendor
Diffstat (limited to 'vendor/github.com/Rhymen/go-whatsapp')
-rw-r--r-- | vendor/github.com/Rhymen/go-whatsapp/message.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/github.com/Rhymen/go-whatsapp/message.go b/vendor/github.com/Rhymen/go-whatsapp/message.go index 042d600a..d4fb9481 100644 --- a/vendor/github.com/Rhymen/go-whatsapp/message.go +++ b/vendor/github.com/Rhymen/go-whatsapp/message.go @@ -183,19 +183,6 @@ func getTextProto(msg TextMessage) *proto.WebMessageInfo { p.Message = &proto.Message{ Conversation: &msg.Text, } - if msg.Info.QuotedMessageID != "" { - previousText := "previous" - p.Message.ExtendedTextMessage = &proto.ExtendedTextMessage{ - ContextInfo: &proto.ContextInfo{ - StanzaId: &msg.Info.QuotedMessageID, - QuotedMessage: []*proto.Message{ - &proto.Message{ - Conversation: &previousText, - }, - }, - }, - } - } return p } |