Show mentioned badges & enable scrolling to mentions in conversations
This commit is contained in:
parent
caaeda8abe
commit
d012779e87
21 changed files with 694 additions and 184 deletions
|
@ -63,6 +63,7 @@ export type PropsData = Pick<
|
|||
| 'typingContactId'
|
||||
| 'unblurredAvatarPath'
|
||||
| 'unreadCount'
|
||||
| 'unreadMentionsCount'
|
||||
| 'uuid'
|
||||
> & {
|
||||
badge?: BadgeType;
|
||||
|
@ -106,6 +107,7 @@ export const ConversationListItem: FunctionComponent<Props> = React.memo(
|
|||
typingContactId,
|
||||
unblurredAvatarPath,
|
||||
unreadCount,
|
||||
unreadMentionsCount,
|
||||
uuid,
|
||||
}) {
|
||||
const isMuted = Boolean(muteExpiresAt && Date.now() < muteExpiresAt);
|
||||
|
@ -217,6 +219,7 @@ export const ConversationListItem: FunctionComponent<Props> = React.memo(
|
|||
theme={theme}
|
||||
title={title}
|
||||
unreadCount={unreadCount}
|
||||
unreadMentionsCount={unreadMentionsCount}
|
||||
unblurredAvatarPath={unblurredAvatarPath}
|
||||
uuid={uuid}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue