Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85649130
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
902 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/changelog.d/preview_posting.fix b/changelog.d/preview_posting.fix
new file mode 100644
index 0000000000..1a35dbeba0
--- /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 1acd211c49..ef012c9cf1 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 () {
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Aug 29, 7:07 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1736796
Default Alt Text
(902 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment