feat: show 'bridge' badge for masqueraded bot messages

This commit is contained in:
Paul Makles
2022-05-07 15:24:12 +01:00
parent 492e401d24
commit b07cb6476c
3 changed files with 16 additions and 12 deletions

View File

@@ -91,7 +91,11 @@ export const Username = observer(
)}
</span>
<BotBadge>
<Text id="app.main.channel.bot" />
{masquerade ? (
<Text id="app.main.channel.bridge" />
) : (
<Text id="app.main.channel.bot" />
)}
</BotBadge>
</>
);