Skip to content

Commit

Permalink
msgconv/from-matrix: don't set remote JID in context info
Browse files Browse the repository at this point in the history
It's probably only for cross-chat replies
  • Loading branch information
tulir committed Sep 30, 2024
1 parent 4e19e36 commit fc2db39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/msgconv/from-matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func (mc *MessageConverter) ToWhatsApp(
msgID, err := waid.ParseMessageID(replyTo.ID)
if err == nil {
contextInfo.StanzaID = proto.String(msgID.ID)
contextInfo.RemoteJID = proto.String(msgID.Chat.String())
contextInfo.Participant = proto.String(msgID.Sender.String())
contextInfo.QuotedMessage = &waE2E.Message{Conversation: proto.String("")}
} else {
Expand Down

0 comments on commit fc2db39

Please sign in to comment.