diff --git a/composables/masto/publish.ts b/composables/masto/publish.ts index 08498d1e..b57466c5 100644 --- a/composables/masto/publish.ts +++ b/composables/masto/publish.ts @@ -29,6 +29,8 @@ export const usePublish = (options: { }, { deep: true }) async function publishDraft() { + if (isPublishDisabled) + return let content = htmlToText(draft.params.status || '') if (draft.mentions?.length) content = `${draft.mentions.map(i => `@${i}`).join(' ')} ${content}`