Commit f0de97a049

f0de97a049297e93c1b2ad54c1934255c733c329

parent: a9cb5608f0

Unregistered key

VAWVAW <git@nlih.de> · 2025-06-05 17:16 UTC
committer: <noreply@github.com>

Remove image preview on message redaction (#448)

Layout: unified · split

src/message/mod.rs +2
@@ -1126,6 +1126,8 @@ impl Message {
1126 pub fn redact(&mut self, redaction: SyncRoomRedactionEvent, version: &RoomVersionId) { 1126 pub fn redact(&mut self, redaction: SyncRoomRedactionEvent, version: &RoomVersionId) {
1127 self.event.redact(redaction, version); 1127 self.event.redact(redaction, version);
1128 self.html = None; 1128 self.html = None;
1129 self.downloaded = false;
1130 self.image_preview = ImageStatus::None;
1129 } 1131 }
1130} 1132}
1131 1133