add comment

This commit is contained in:
Hugh Rundle 2023-04-11 16:49:11 +10:00
parent 03f21b0f35
commit 279fa3851b

View file

@ -137,6 +137,8 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
if activity.tag == MISSING or activity.tag is None: if activity.tag == MISSING or activity.tag is None:
return True 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] tags = activity.tag if type(activity.tag) == list else [activity.tag]
user_model = apps.get_model("bookwyrm.User", require_ready=True) user_model = apps.get_model("bookwyrm.User", require_ready=True)
for tag in tags: for tag in tags: