aboutsummaryrefslogtreecommitdiff
path: root/src/Chat/Chat.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Chat/Chat.tsx')
-rw-r--r--src/Chat/Chat.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Chat/Chat.tsx b/src/Chat/Chat.tsx
index 7aff06f..1aa884a 100644
--- a/src/Chat/Chat.tsx
+++ b/src/Chat/Chat.tsx
@@ -125,7 +125,10 @@ const Chat = ({ user }: { user: string }): React.ReactElement => {
return (
<fieldset className="chat">
<legend>
- Logged in as <b>{user}</b>
+ {chatPage.window.title.replaceAll(
+ "$userName",
+ user
+ )}
</legend>
<div className="chat-inner-wrapper">{messages}</div>
<span className="entry-box">