diff --git a/Packages/ComposeUI/Sources/ComposeUI/API/PostService.swift b/Packages/ComposeUI/Sources/ComposeUI/API/PostService.swift index 1863238c..94704e38 100644 --- a/Packages/ComposeUI/Sources/ComposeUI/API/PostService.swift +++ b/Packages/ComposeUI/Sources/ComposeUI/API/PostService.swift @@ -26,7 +26,7 @@ class PostService: ObservableObject { } func post() async throws { - guard draft.hasContent else { + guard draft.hasContent || draft.editedStatusID != nil else { return } @@ -35,8 +35,8 @@ class PostService: ObservableObject { let uploadedAttachments = try await uploadAttachments() - let contentWarning = draft.contentWarningEnabled ? draft.contentWarning : nil - let sensitive = contentWarning != nil + let contentWarning = draft.contentWarningEnabled ? draft.contentWarning : "" + let sensitive = !contentWarning.isEmpty let request: Request