feat: audio
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user