aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/chat-app.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/chat-app.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/chat-app.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/chat-app.js b/packages/meshbay-hub/src/meshbay_hub/static/chat-app.js
index a7b8fd9..a793527 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/chat-app.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/chat-app.js
@@ -605,6 +605,14 @@ function ChatPanel({ transportRef, username, userId, entries, gekRef,
${showSender && html`
<div class="chat-sender">${displayName}</div>
`}
+ ${m.trust === 'changed' && html`
+ ${/* The one notice ยง4.8 budgets for. Not shown for a first
+ sight, which every account has exactly once โ€” an alarm
+ that fires on normal events stops being read. */ ''}
+ <div class="chat-key-changed" title="${t('chat.key_changed_hint')}">
+ ${t('chat.key_changed')}
+ </div>
+ `}
<div class="chat-bubble ${isOwn ? 'chat-bubble-own' : ''}">
${att ? html`
<div class="chat-attachment" style="cursor:pointer" onClick=${() => {