feat: poll response notification
This commit is contained in:
parent
20c712c56b
commit
bcd149b304
14 changed files with 209 additions and 93 deletions
|
|
@ -41,11 +41,18 @@ const NotificationList = forwardRef((_, ref) => {
|
|||
case 'mentions':
|
||||
return [kinds.ShortTextNote, ExtendedKind.COMMENT]
|
||||
case 'reactions':
|
||||
return [kinds.Reaction, kinds.Repost]
|
||||
return [kinds.Reaction, kinds.Repost, ExtendedKind.POLL_RESPONSE]
|
||||
case 'zaps':
|
||||
return [kinds.Zap]
|
||||
default:
|
||||
return [kinds.ShortTextNote, kinds.Repost, kinds.Reaction, kinds.Zap, ExtendedKind.COMMENT]
|
||||
return [
|
||||
kinds.ShortTextNote,
|
||||
kinds.Repost,
|
||||
kinds.Reaction,
|
||||
kinds.Zap,
|
||||
ExtendedKind.COMMENT,
|
||||
ExtendedKind.POLL_RESPONSE
|
||||
]
|
||||
}
|
||||
}, [notificationType])
|
||||
useImperativeHandle(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue