mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-21 23:25:08 +00:00
modules: processUpdates: fix inform chat if blocked
This commit is contained in:
parent
e4c13ddabe
commit
b097f088c8
@ -4,7 +4,7 @@
|
||||
# File: processUpdates.sh
|
||||
# Note: DO NOT EDIT! this file will be overwritten on update
|
||||
#
|
||||
#### $$VERSION$$ v1.51-dev-19-gf7f55ea
|
||||
#### $$VERSION$$ v1.51-dev-20-ge4c13dd
|
||||
##################################################################
|
||||
|
||||
##############
|
||||
@ -62,7 +62,7 @@ process_multi_updates() {
|
||||
# processing of a single array item of update
|
||||
# $1 array index
|
||||
process_update() {
|
||||
local chatuser="User" num="$1" debug="$2"
|
||||
local chatuser="Chat" num="$1" debug="$2"
|
||||
pre_process_message "${num}"
|
||||
# log message on debug
|
||||
[[ -n "${debug}" ]] && log_message "New Message ==========\n$(grep -F '["result",'"${num}" <<<"${UPDATE}")"
|
||||
|
Loading…
Reference in New Issue
Block a user