mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 11:38:28 -07:00
Remove image preview on message redaction (#448)
This commit is contained in:
parent
a9cb5608f0
commit
f0de97a049
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue