Fix: Emojis showing through spoilers.

Fix: Copy ID copies wrong ID.
Messaging: Add context menu to avatar / username.
This commit is contained in:
Paul
2021-06-24 16:43:37 +01:00
parent 2d761d1e97
commit b724b9aec2
7 changed files with 34 additions and 11 deletions

View File

@@ -97,8 +97,7 @@ export function ChannelButton({ active, alert, alertCount, channel, user, compac
const { openScreen } = useIntermediate();
return (
<div
data-active={active}
<div data-active={active}
data-alert={typeof alert === 'string'}
className={classNames(styles.item, { [styles.compact]: compact })}
onContextMenu={attachContextMenu('Menu', { channel: channel._id, unread: typeof channel.unread !== 'undefined' })}>