From a89a12ee7f14a1510a6bba1ad659b6e133519ce8 Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Sat, 7 Nov 2020 20:00:43 +0100 Subject: [PATCH] Mark user as back after sending an attachment --- files_wcf/js/Bastelstu.be/Chat.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files_wcf/js/Bastelstu.be/Chat.js b/files_wcf/js/Bastelstu.be/Chat.js index 5288b88..c29ae59 100644 --- a/files_wcf/js/Bastelstu.be/Chat.js +++ b/files_wcf/js/Bastelstu.be/Chat.js @@ -432,9 +432,11 @@ define([ } async onSendAttachment(event) { - return this.bottle.container.Messenger.pushAttachment( + await this.bottle.container.Messenger.pushAttachment( event.detail.tmpHash ) + + this.markAsBack() } onAutocomplete(event) {