mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-13 02:35:39 +00:00
Loads subclass for generated note
Fixes display weirdness in threads
This commit is contained in:
parent
32ac4111aa
commit
45393af843
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ def load_subclass(status):
|
||||||
return status.review
|
return status.review
|
||||||
if hasattr(status, "comment"):
|
if hasattr(status, "comment"):
|
||||||
return status.comment
|
return status.comment
|
||||||
|
if hasattr(status, "generatednote"):
|
||||||
|
return status.generatednote
|
||||||
return status
|
return status
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue