FIX: Educational composer messages regressed in 788dc0a (#21082)

Tests coming in another PR
This commit is contained in:
Jarek Radosz 2023-04-12 20:05:52 +02:00 committed by GitHub
parent 93c33e02f0
commit cb1e95cd3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -272,13 +272,13 @@ export default class ComposerMessages extends Component {
this.set("checkedMessages", true); this.set("checkedMessages", true);
for (const msg of messages) { messages.forEach((msg) => {
if (msg.wait_for_typing) { if (msg.wait_for_typing) {
this.queuedForTyping.addObject(msg); this.queuedForTyping.addObject(msg);
} else { } else {
this.popup(msg); this.popup(msg);
} }
} });
} }
@action @action