FEATURE: create a new message via URL without specifying user or group

FEATURE: create a new message via URL without specifying user or group

diff --git a/app/assets/javascripts/discourse/routes/new-message.js.es6 b/app/assets/javascripts/discourse/routes/new-message.js.es6
index abdf17e..7069151 100644
--- a/app/assets/javascripts/discourse/routes/new-message.js.es6
+++ b/app/assets/javascripts/discourse/routes/new-message.js.es6
@@ -48,6 +48,8 @@ export default Discourse.Route.extend({
               }
             })
             .catch(() => bootbox.alert(I18n.t("generic_error")));
+        } else {
+          e.send("createNewMessageViaParams", null, params.title, params.body);
         }
       });
     } else {

GitHub sha: caef0a56

2 Likes

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

1 Like