DEV: Remove reply_as_new_topic from PM composer actions (#17023)

This commit is contained in:
Isaac Janzen 2022-06-07 11:06:42 -05:00 committed by GitHub
parent 86ab82f057
commit de1153286d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,9 @@ export default DropdownSelectBoxComponent.extend({
if (
this.action !== CREATE_TOPIC &&
this.action !== CREATE_SHARED_DRAFT &&
!(this.action === REPLY && this.topic && this.topic.isPrivateMessage) &&
this.action === REPLY &&
this.topic &&
!this.topic.isPrivateMessage &&
!this.isEditing &&
_topicSnapshot
) {