FIX: Replies to whispers should default to whispers

This commit is contained in:
Robin Ward 2015-09-17 11:48:37 -04:00
parent 0a78cdbd83
commit b45af1d6c8
1 changed files with 2 additions and 0 deletions

View File

@ -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'));
}