feat: audio
This commit is contained in:
parent
de09942124
commit
4ea5ea1705
37 changed files with 629 additions and 145 deletions
|
|
@ -31,7 +31,10 @@ export function NotificationItem({
|
|||
if (notification.kind === kinds.Zap) {
|
||||
return <ZapNotification notification={notification} isNew={isNew} />
|
||||
}
|
||||
if (notification.kind === ExtendedKind.COMMENT) {
|
||||
if (
|
||||
notification.kind === ExtendedKind.COMMENT ||
|
||||
notification.kind === ExtendedKind.VOICE_COMMENT
|
||||
) {
|
||||
return <CommentNotification notification={notification} isNew={isNew} />
|
||||
}
|
||||
if (notification.kind === ExtendedKind.POLL_RESPONSE) {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ const NotificationList = forwardRef((_, ref) => {
|
|||
const filterKinds = useMemo(() => {
|
||||
switch (notificationType) {
|
||||
case 'mentions':
|
||||
return [kinds.ShortTextNote, ExtendedKind.COMMENT]
|
||||
return [kinds.ShortTextNote, ExtendedKind.COMMENT, ExtendedKind.VOICE_COMMENT]
|
||||
case 'reactions':
|
||||
return [kinds.Reaction, kinds.Repost, ExtendedKind.POLL_RESPONSE]
|
||||
case 'zaps':
|
||||
|
|
@ -51,7 +51,8 @@ const NotificationList = forwardRef((_, ref) => {
|
|||
kinds.Reaction,
|
||||
kinds.Zap,
|
||||
ExtendedKind.COMMENT,
|
||||
ExtendedKind.POLL_RESPONSE
|
||||
ExtendedKind.POLL_RESPONSE,
|
||||
ExtendedKind.VOICE_COMMENT
|
||||
]
|
||||
}
|
||||
}, [notificationType])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue