From 28cdd67e8aa52bf7485e183a4dc7e846fc9af5aa Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Fri, 1 Dec 2023 09:57:25 +0100 Subject: [PATCH] Fix sensitive toggled state for reblogs (IOS-176) --- Mastodon/Protocol/Provider/DataSourceFacade+Reblog.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Protocol/Provider/DataSourceFacade+Reblog.swift b/Mastodon/Protocol/Provider/DataSourceFacade+Reblog.swift index 75f0f63aa..f8fa3d5f3 100644 --- a/Mastodon/Protocol/Provider/DataSourceFacade+Reblog.swift +++ b/Mastodon/Protocol/Provider/DataSourceFacade+Reblog.swift @@ -24,6 +24,7 @@ extension DataSourceFacade { ).value let newStatus: MastodonStatus = .fromEntity(updatedStatus) + newStatus.reblog?.isSensitiveToggled = status.isSensitiveToggled newStatus.isSensitiveToggled = status.isSensitiveToggled provider.update(status: newStatus)