Cache status interact buttons
This commit is contained in:
parent
0da0091237
commit
7df99afdc7
3 changed files with 46 additions and 29 deletions
|
@ -82,6 +82,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
|
|||
|
||||
if not self.reply_parent:
|
||||
self.thread_id = self.id
|
||||
|
||||
super().save(broadcast=False, update_fields=["thread_id"])
|
||||
|
||||
def delete(self, *args, **kwargs): # pylint: disable=unused-argument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue