fixed getusr_name being called without arguments
This commit is contained in:
parent
c602c92c15
commit
0aecf3fa5b
|
@ -98,7 +98,7 @@ getchat_title(){
|
||||||
local chat_title="$(tail -n 1 "${bot_tmpdir}${1}" | grep -om1\
|
local chat_title="$(tail -n 1 "${bot_tmpdir}${1}" | grep -om1\
|
||||||
'"title":"\(\\"\|[^"]*\)*","type":"group"' | head -n1)"
|
'"title":"\(\\"\|[^"]*\)*","type":"group"' | head -n1)"
|
||||||
[ ! -z "${chat_title}" ] && utf-16-surrogate-pair-decode "${chat_title:9:-16}"\
|
[ ! -z "${chat_title}" ] && utf-16-surrogate-pair-decode "${chat_title:9:-16}"\
|
||||||
|| getusr_name
|
|| getusr_name "${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_cbks() {
|
get_cbks() {
|
||||||
|
|
Loading…
Reference in New Issue