mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 16:51:00 +00:00
Don't error on unknown notification types
This commit is contained in:
parent
d8ff43dc28
commit
8d6f78e29e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue