mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
update comment to identify bug
This commit is contained in:
parent
279fa3851b
commit
c450947eee
1 changed files with 3 additions and 3 deletions
|
@ -137,9 +137,9 @@ 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]
|
||||
# BUG: this fixes the TypeError but if there is only one user mentioned
|
||||
# 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:
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue