Skip to content

Commit fc2db39

Browse files
committed
msgconv/from-matrix: don't set remote JID in context info
It's probably only for cross-chat replies
1 parent 4e19e36 commit fc2db39

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/msgconv/from-matrix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ func (mc *MessageConverter) ToWhatsApp(
6666
msgID, err := waid.ParseMessageID(replyTo.ID)
6767
if err == nil {
6868
contextInfo.StanzaID = proto.String(msgID.ID)
69-
contextInfo.RemoteJID = proto.String(msgID.Chat.String())
7069
contextInfo.Participant = proto.String(msgID.Sender.String())
7170
contextInfo.QuotedMessage = &waE2E.Message{Conversation: proto.String("")}
7271
} else {

0 commit comments

Comments
 (0)