Skip to content

Commit

Permalink
remove orphaned Details tag from BlueSky notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Jan 20, 2025
1 parent 1574126 commit 253f280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rootfs/usr/share/vesselalert/send_bluesky
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ fi

bsky_str+="${MASTO_TERM[SIGNAL]} #RSSI: $(printf "%.1f dBFS" "${VESSELS[$1:level]}")\n"

[[ -n "${NOTIFICATION_MAPURL}" ]] && [[ "${NOTIFICATION_MAPURL:0:4}" != "http" ]] && bsky_str+="${MASTO_TERM[LOCATION]}: ${AIS_URL}?mmsi=${VESSELS[$1:mmsi]}\n" || true
[[ -n "${NOTIFICATION_MAPURL}" ]] && [[ "${NOTIFICATION_MAPURL:0:4}" == "http" ]] && bsky_str+="${MASTO_TERM[LOCATION]}: ${NOTIFICATION_MAPURL}?mmsi=${VESSELS[$1:mmsi]}\n" || true
[[ -n "${NOTIFICATION_MAPURL}" ]] && [[ "${NOTIFICATION_MAPURL:0:4}" != "http" ]] && bsky_str+="${AIS_URL}?mmsi=${VESSELS[$1:mmsi]}\n" || true
[[ -n "${NOTIFICATION_MAPURL}" ]] && [[ "${NOTIFICATION_MAPURL:0:4}" == "http" ]] && bsky_str+="${NOTIFICATION_MAPURL}?mmsi=${VESSELS[$1:mmsi]}\n" || true
[[ -n "${links}" ]] && bsky_str+="${links}\n" || true

LLP
bsky_str+="\n"

[[ -n "$BLUESKY_CUSTOM_FIELD" ]] && bsky_str+="$BLUESKY_CUSTOM_FIELD\n" || true
Expand Down

0 comments on commit 253f280

Please sign in to comment.