Add a separator before the 'Posted from' message if showClient is set to true.

This commit is contained in:
Storm Dragon 2024-05-12 20:57:57 -04:00
parent 05f236df25
commit c6ef55cb0c

View File

@ -130,7 +130,7 @@ post_status() {
statusContent_type="${statusContent_type:-text/markdown}" statusContent_type="${statusContent_type:-text/markdown}"
if [[ "${showClient}" == "true" ]]; then if [[ "${showClient}" == "true" ]]; then
if [[ "${statusContent_type}" == "text/markdown" ]]; then if [[ "${statusContent_type}" == "text/markdown" ]]; then
statusText+=$'\n'$'\n'"[Posted from Ratatoskr](https://git.stormux.org/storm/ratatoskr)" statusText+=$'\n'$'\n''----'$'\n'"[Posted from Ratatoskr](https://git.stormux.org/storm/ratatoskr)"
else else
statusText+=$'\n'$'\n'"Posted from Ratatoskr: https://git.stormux.org/storm/ratatoskr" statusText+=$'\n'$'\n'"Posted from Ratatoskr: https://git.stormux.org/storm/ratatoskr"
fi fi