diff --git a/changelog.d/preview_posting.fix b/changelog.d/preview_posting.fix new file mode 100644 index 000000000..1a35dbeba --- /dev/null +++ b/changelog.d/preview_posting.fix @@ -0,0 +1 @@ +Fix posting not working when using preview diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 1acd211c4..ef012c9cf 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -721,6 +721,10 @@ const PostStatusForm = { }) .finally(() => { this.previewLoading = false + // If we post right after doing a preview request + // backend treats non-preview request as preview one + // and "eats" the post + this.updateIdempotencyKey() }) }, debouncePreviewStatus: debounce(function () {