FIX: Use the right property for post ID.

FIX: Use the right property for post ID.

diff --git a/app/assets/javascripts/discourse/models/composer.js.es6 b/app/assets/javascripts/discourse/models/composer.js.es6
index 620231c..7e4f38a 100644
--- a/app/assets/javascripts/discourse/models/composer.js.es6
+++ b/app/assets/javascripts/discourse/models/composer.js.es6
@@ -955,7 +955,6 @@ const Composer = RestModel.extend({
       "action",
       "title",
       "categoryId",
-      "postId",
       "archetypeId",
       "whisper",
       "metaData",
@@ -965,9 +964,12 @@ const Composer = RestModel.extend({
       "noBump"
     );
 
-    data = Object.assign(data, { usernames: this.targetUsernames });
+    data = Object.assign(data, {
+      usernames: this.targetUsernames,
+      postId: this.get("post.id")
+    });
 
-    if (this.get("post.id") && !Ember.isEmpty(this.originalText)) {
+    if (data.postId && !Ember.isEmpty(this.originalText)) {
       data.originalText = this.originalText;
     }

GitHub sha: 91ff8684

This commit has been mentioned on Discourse Meta. There might be relevant details there: