Remove image preview on message redaction (#448)

This commit is contained in:
VAWVAW
2025-06-05 17:16:01 +00:00
committed by GitHub
parent a9cb5608f0
commit f0de97a049

View File

@@ -1126,6 +1126,8 @@ impl Message {
pub fn redact(&mut self, redaction: SyncRoomRedactionEvent, version: &RoomVersionId) {
self.event.redact(redaction, version);
self.html = None;
self.downloaded = false;
self.image_preview = ImageStatus::None;
}
}