fix mastodon timeline sync
This commit is contained in:
parent
786c73e227
commit
9eac26f496
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class Piece(PolymorphicModel, UserOwnedObjectMixin):
|
|||
if toot_id:
|
||||
self.metadata.pop("mastodon_url", None)
|
||||
mastodon.delete_post(toot_id)
|
||||
elif update_mode == 1:
|
||||
elif update_mode == 2:
|
||||
params.pop("update_id", None)
|
||||
return self.crosspost_to_mastodon(params)
|
||||
elif self.latest_post:
|
||||
|
|
Loading…
Add table
Reference in a new issue