From 4841af7aef2841911283c73576ffed6f9eef9aa1 Mon Sep 17 00:00:00 2001 From: mein Name Date: Mon, 3 Feb 2025 22:07:41 -0500 Subject: [PATCH] fix note comment recreation --- journal/models/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/journal/models/common.py b/journal/models/common.py index 861da295..4ecd137b 100644 --- a/journal/models/common.py +++ b/journal/models/common.py @@ -327,6 +327,7 @@ class Piece(PolymorphicModel, UserOwnedObjectMixin): p = cls(**d) if crosspost is not None: p.crosspost_when_save = crosspost + p.previous_visibility = visibility p.save(link_post_id=post.id) # subclass may have to add additional code to update type_data in local post return p