mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
FEATURE: allow staff to select existing message via ID or URL
This commit is contained in:
parent
aeeead351a
commit
59e3eecfa6
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user