Merge pull request 'Update behavior of update posts' (#16) from post-updates-unlisted into main
Reviewed-on: #16
This commit is contained in:
commit
c7ccf80b2a
1 changed files with 1 additions and 3 deletions
4
scl.py
4
scl.py
|
@ -348,13 +348,11 @@ with Session(engine) as session:
|
|||
", ".join(updated_properties)
|
||||
),
|
||||
)
|
||||
updated_entries.append("")
|
||||
updated_entries.append(hashtag_string)
|
||||
if max_event_class["is_postable"] and existing_record.initial_post_id:
|
||||
post_result = mastodon_client.status_post(
|
||||
status="\n".join(updated_entries),
|
||||
in_reply_to_id=existing_record.most_recent_post_id,
|
||||
visibility="public",
|
||||
visibility="unlisted",
|
||||
language="en",
|
||||
)
|
||||
existing_record.most_recent_post_id = post_result["id"]
|
||||
|
|
Loading…
Reference in a new issue