fix showing text 2x times when upload file

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-04-15 16:51:26 +02:00
parent 6ff574b9a3
commit ba80ec6976

View File

@ -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