Restore missing logic for Media

This commit is contained in:
Kitaiti Makoto 2022-05-03 22:25:43 +09:00
parent 03ba77a577
commit f5906cacf3

View File

@ -245,6 +245,10 @@ impl Media {
media.is_remote = false; media.is_remote = false;
updated = true; updated = true;
} }
if media.remote_url.is_some() {
media.remote_url = None;
updated = true;
}
if media.sensitive != sensitive { if media.sensitive != sensitive {
media.sensitive = sensitive; media.sensitive = sensitive;
updated = true; updated = true;