FIX: Do not show warnings for unencrypted messages.

FIX: Do not show warnings for unencrypted messages.

diff --git a/assets/javascripts/discourse/connectors/composer-action-after/encrypt.hbs b/assets/javascripts/discourse/connectors/composer-action-after/encrypt.hbs
index 8f1982c..a0dab4a 100644
--- a/assets/javascripts/discourse/connectors/composer-action-after/encrypt.hbs
+++ b/assets/javascripts/discourse/connectors/composer-action-after/encrypt.hbs
@@ -1,5 +1,5 @@
 {{#if isEncryptActive}}
-  {{#if (or model.creatingPrivateMessage model.topic.isPrivateMessage)}}
+  {{#if (or model.creatingPrivateMessage model.topic.encrypted_title)}}
     <a {{action clicked}} title={{i18n title}}>
       {{d-icon (if model.isEncrypted "lock" "unlock") class=(if model.isEncryptedDisabled "disabled")}}
     </a>

GitHub sha: b2e55af6