mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 01:51:08 +00:00
add comment
This commit is contained in:
parent
03f21b0f35
commit
279fa3851b
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
|
|||
if activity.tag == MISSING or activity.tag is None:
|
||||
return True
|
||||
|
||||
# BUG: this fixes the TypeError but we still don't get any notifs
|
||||
# and DMs are dropped
|
||||
tags = activity.tag if type(activity.tag) == list else [activity.tag]
|
||||
user_model = apps.get_model("bookwyrm.User", require_ready=True)
|
||||
for tag in tags:
|
||||
|
|
Loading…
Reference in a new issue