Show mentioned badges & enable scrolling to mentions in conversations

This commit is contained in:
trevor-signal 2023-05-23 17:59:07 -04:00 committed by GitHub
parent caaeda8abe
commit d012779e87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 694 additions and 184 deletions

View file

@ -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}
/>