Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85649359
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 1cea486701..4fb6f47466 100644
--- a/src/components/post_status_form/post_status_form.js
+++ b/src/components/post_status_form/post_status_form.js
@@ -720,6 +720,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, 10:31 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1737011
Default Alt Text
(902 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment