From 629a4c95f08ee9fd8a90e7318d0ee697370f2f4b Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Mon, 18 Nov 2024 19:57:36 +0100 Subject: [PATCH] fix: change the placeholder when silent message is on Signed-off-by: DorraJaouad --- src/components/NewMessage/NewMessage.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/NewMessage/NewMessage.vue b/src/components/NewMessage/NewMessage.vue index edc74a04c70..6e2396c006f 100644 --- a/src/components/NewMessage/NewMessage.vue +++ b/src/components/NewMessage/NewMessage.vue @@ -357,6 +357,8 @@ export default { return t('spreed', 'No permission to post messages in this conversation') } else if (!this.currentConversationIsJoined) { return t('spreed', 'Joining conversation …') + } else if (this.silentChat) { + return t('spreed', 'Write a message (silent)') } else { // Use the default placeholder return undefined