FIX: reverts value check when reseting composer value (#20110)

This change was made to prevent composer input to be reset randomly during tests but this is causing more issues for now: most notably composer state not being reset when changing channel. This will need a better solution.
This commit is contained in:
Joffrey JAFFEUX 2023-02-01 17:45:33 +01:00 committed by GitHub
parent df50df041a
commit dd4b282196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -223,7 +223,6 @@ export default Component.extend(TextareaTextManipulation, {
this._super(...arguments); this._super(...arguments);
if ( if (
!this.value &&
!this.editingMessage && !this.editingMessage &&
this.draft && this.draft &&
this.chatChannel?.canModifyMessages(this.currentUser) this.chatChannel?.canModifyMessages(this.currentUser)