fix(channels): correct reply_to target for dingtalk and matrix

This commit is contained in:
Chummy 2026-02-17 19:31:40 +08:00
parent 18952f9a2b
commit a5405db212
2 changed files with 37 additions and 10 deletions

View file

@ -230,7 +230,7 @@ impl Channel for MatrixChannel {
let msg = ChannelMessage {
id: format!("mx_{}", chrono::Utc::now().timestamp_millis()),
sender: event.sender.clone(),
reply_to: event.sender.clone(),
reply_to: self.room_id.clone(),
content: body.clone(),
channel: "matrix".to_string(),
timestamp: std::time::SystemTime::now()