From f5906cacf3a66d5f513cf2391514a609d8aeb00c Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 22:25:43 +0900 Subject: [PATCH] Restore missing logic for Media --- plume-models/src/medias.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plume-models/src/medias.rs b/plume-models/src/medias.rs index 0db6b2ab..05a5278c 100644 --- a/plume-models/src/medias.rs +++ b/plume-models/src/medias.rs @@ -245,6 +245,10 @@ impl Media { media.is_remote = false; updated = true; } + if media.remote_url.is_some() { + media.remote_url = None; + updated = true; + } if media.sensitive != sensitive { media.sensitive = sensitive; updated = true;