mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 13:01:08 +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:
|
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
|
# BUG: this fixes the TypeError but if there is only one user mentioned
|
||||||
# and DMs are dropped
|
# 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:
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue