From 7cec721bbbebdf4d10844df277f54df7382be778 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 18 Jan 2019 21:43:55 +0100 Subject: [PATCH] Post as unlisted --- tootbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tootbot.py b/tootbot.py index 3b71d4a..db4513b 100755 --- a/tootbot.py +++ b/tootbot.py @@ -98,7 +98,7 @@ for t in reversed(d.entries[0:5]): c = c.replace('\xa0…',' ') if toot_media is not None: - toot = mastodon_api.status_post(c, in_reply_to_id=None, media_ids=toot_media, sensitive=False, visibility='public', spoiler_text=None) + toot = mastodon_api.status_post(c, in_reply_to_id=None, media_ids=toot_media, sensitive=False, visibility='unlisted', spoiler_text=None) if "id" in toot: db.execute("INSERT INTO tweets VALUES ( ? , ? , ? , ? , ? )", (t.id, toot["id"], twitter, mastodon, instance))