From f45689c3b835ecbc074b5fa695039120453c73b8 Mon Sep 17 00:00:00 2001 From: mystie Date: Fri, 28 Mar 2025 19:51:57 +0300 Subject: [PATCH] add a thread for bluesky crosspost --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index 6ce2143..8d65d40 100644 --- a/app.py +++ b/app.py @@ -718,6 +718,10 @@ def addAnswer(): fedi_crosspost_thread = threading.Thread(target=func.postOnFediverse, name=f"fediverse crosspost thread for {question_id}", args=(question_id, answer, cw,)) fedi_crosspost_thread.start() + if cfg['crosspost']['bluesky']['enabled']: + bsky_crosspost_thread = threading.Thread(target=func.postOnBluesky, name=f"bluesky crosspost thread for {question_id}", args=(question_id, answer, cw,)) + bsky_crosspost_thread.start() + return return_val # -- uploaders --