mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
fix showing text 2x times when upload file
This commit is contained in:
parent
6ff574b9a3
commit
ba80ec6976
@ -180,7 +180,7 @@ send_message() {
|
||||
sent=y
|
||||
fi
|
||||
if [ "$file" != "" ]; then
|
||||
send_file "$chat" "$file" "$text"
|
||||
send_file "$chat" "$file" ""
|
||||
sent=y
|
||||
fi
|
||||
if [ "$lat" != "" ] && [ "$long" != "" ] && [ "$address" = "" ] && [ "$title" = "" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user