mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 10:24:36 +08:00
FIX: regression unable to send any PMs if you have a PM draft
This commit is contained in:
parent
71892cc5f4
commit
b2633098ee
|
@ -689,6 +689,13 @@ const Composer = RestModel.extend({
|
|||
});
|
||||
|
||||
Composer.reopenClass({
|
||||
|
||||
open(opts) {
|
||||
const composer = Discourse.__container__.lookup('store:main').createRecord('composer');
|
||||
composer.open(opts);
|
||||
return composer;
|
||||
},
|
||||
|
||||
loadDraft(opts) {
|
||||
opts = opts || {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user