FEATURE: allow staff to select existing message via ID or URL

FEATURE: allow staff to select existing message via ID or URL

diff --git a/app/assets/javascripts/discourse/components/choose-message.js.es6 b/app/assets/javascripts/discourse/components/choose-message.js.es6
index ffe7302..3bbbf83 100644
--- a/app/assets/javascripts/discourse/components/choose-message.js.es6
+++ b/app/assets/javascripts/discourse/components/choose-message.js.es6
@@ -36,7 +36,8 @@ export default Ember.Component.extend({
 
     searchForTerm(title, {
       typeFilter: "private_messages",
-      searchForId: true
+      searchForId: true,
+      restrictToArchetype: "private_message"
     }).then(results => {
       if (results && results.posts && results.posts.length > 0) {
         this.set(

GitHub sha: 59e3eecf

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

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