Update Scripts/bluesky-dm-to-telegram.sh
Remove debug function to get all messages.
This commit is contained in:
@@ -23,12 +23,6 @@ create_session() {
|
|||||||
-d '{"identifier": "'"$BLUESKY_HANDLE"'", "password": "'"$BLUESKY_PASSWORD"'"}'
|
-d '{"identifier": "'"$BLUESKY_HANDLE"'", "password": "'"$BLUESKY_PASSWORD"'"}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Hole alle Nachrichten
|
|
||||||
get_messages() {
|
|
||||||
curl -s "https://api.bsky.chat/xrpc/chat.bsky.convo.listConvos?limit=50" \
|
|
||||||
-H "Authorization: Bearer $ACCESS_JWT" | jq .
|
|
||||||
}
|
|
||||||
|
|
||||||
# Erneuere Session
|
# Erneuere Session
|
||||||
refresh_session() {
|
refresh_session() {
|
||||||
curl -sX POST "$PDSHOST/xrpc/com.atproto.server.refreshSession" \
|
curl -sX POST "$PDSHOST/xrpc/com.atproto.server.refreshSession" \
|
||||||
|
Reference in New Issue
Block a user