From 13168027eb6f4cb2f9532fe9820b3f1284f37fcf Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 19 Aug 2021 09:33:00 +0530 Subject: [PATCH] UX: do not show composer education message if the post is whisper (#152) --- plugin.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index afff86d..11e99b2 100644 --- a/plugin.rb +++ b/plugin.rb @@ -680,8 +680,9 @@ SQL { id: 'solved_topic', templateName: 'education', - wait_for_typing: false, + wait_for_typing: true, extraClass: 'education-message', + hide_if_whisper: true, body: PrettyText.cook(I18n.t('education.topic_is_solved', base_url: Discourse.base_url)) } end