FIX: Replies to whispers should default to whispers
This commit is contained in:
parent
0a78cdbd83
commit
b45af1d6c8
|
@ -426,6 +426,8 @@ const Composer = RestModel.extend({
|
|||
|
||||
if (opts.post) {
|
||||
this.set('post', opts.post);
|
||||
|
||||
this.set('whisper', opts.post.get('post_type') === this.site.get('post_types.whisper'));
|
||||
if (!this.get('topic')) {
|
||||
this.set('topic', opts.post.get('topic'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue