From f66d56d976d88a3c7102858882a48b46dc715b9f Mon Sep 17 00:00:00 2001 From: dataprolet Date: Sun, 27 Jul 2025 20:08:14 +0200 Subject: [PATCH] Update Scripts/bluesky-dm-to-telegram.sh Remove debug function to create post. --- Scripts/bluesky-dm-to-telegram.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Scripts/bluesky-dm-to-telegram.sh b/Scripts/bluesky-dm-to-telegram.sh index 880a273..e85ea52 100644 --- a/Scripts/bluesky-dm-to-telegram.sh +++ b/Scripts/bluesky-dm-to-telegram.sh @@ -23,14 +23,6 @@ create_session() { -d '{"identifier": "'"$BLUESKY_HANDLE"'", "password": "'"$BLUESKY_PASSWORD"'"}' } -# DEBUG: Erstelle Post -create_post() { - curl -X POST $PDSHOST/xrpc/com.atproto.repo.createRecord \ - -H "Authorization: Bearer $ACCESS_JWT" \ - -H "Content-Type: application/json" \ - -d "{\"repo\": \"$BLUESKY_HANDLE\", \"collection\": \"app.bsky.feed.post\", \"record\": {\"text\": \"Hello world! I posted this via the API.\", \"createdAt\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}}" -} - # Hole alle Nachrichten get_messages() { curl -s "https://api.bsky.chat/xrpc/chat.bsky.convo.listConvos?limit=50" \