From 5afe05aa4427c9945264034143a5b6ad3095d63a Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 26 Jun 2020 09:11:10 +0200 Subject: [PATCH] implement RETRY for send_album --- bashbot.sh | 5 ++++- modules/sendMessage.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 4eb2a30..959fcbe 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -11,7 +11,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.962-86-ge315162 +#### $$VERSION$$ v0.962-87-ga692045 # # Exit Codes: # - 0 success (hopefully) @@ -416,6 +416,9 @@ sendJsonRetry(){ 'sendUpload'*) sendUpload "$@" ;; + 'send_album'*) + send_album "$@" + ;; *) printf "%s: Error: unknown function %s, cannot retry\n" "$(date)" "${retry}" return diff --git a/modules/sendMessage.sh b/modules/sendMessage.sh index 9cd245b..8f0fd9c 100644 --- a/modules/sendMessage.sh +++ b/modules/sendMessage.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.962-85-g01a72e8 +#### $$VERSION$$ v0.962-87-ga692045 # will be automatically sourced from bashbot