From c9c7db2f463d2f5d6676f2dd8405ace3f828e783 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 13 Mar 2019 20:32:09 +0100 Subject: [PATCH] set mastodon post visibility to public --- app/controller/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/bot.js b/app/controller/bot.js index 38851e55..a35e25c8 100644 --- a/app/controller/bot.js +++ b/app/controller/bot.js @@ -46,7 +46,7 @@ ${event.description} - ${event.tags.map(t => '#' + t.tag).join(' ')} ${config.ba media = await bot.post('media', { file: fs.createReadStream(file) }) } } - return bot.post('statuses', { status, visibility: 'direct', media_ids: media ? [media.data.id] : [] }) + return bot.post('statuses', { status, visibility: 'public', media_ids: media ? [media.data.id] : [] }) } // async message (msg) { // console.log(msg)