summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/Rhymen/go-whatsapp/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/Rhymen/go-whatsapp/message.go')
-rw-r--r--vendor/github.com/Rhymen/go-whatsapp/message.go13
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
}