Don't error on unknown notification types
This commit is contained in:
parent
d8ff43dc28
commit
8d6f78e29e
|
@ -33,7 +33,7 @@ def notifications(
|
|||
requested_types.difference_update(excluded_types)
|
||||
# Use that to pull relevant events
|
||||
queryset = TimelineService(request.identity).notifications(
|
||||
[base_types[r] for r in requested_types]
|
||||
[base_types[r] for r in requested_types if r in base_types]
|
||||
)
|
||||
paginator = MastodonPaginator(TimelineEvent)
|
||||
pager = paginator.paginate(
|
||||
|
|
Loading…
Reference in New Issue