diff --git a/bashbot-lib.sh b/bashbot-lib.sh index 71afa68..4a7b027 100755 --- a/bashbot-lib.sh +++ b/bashbot-lib.sh @@ -98,7 +98,7 @@ getchat_title(){ local chat_title="$(tail -n 1 "${bot_tmpdir}${1}" | grep -om1\ '"title":"\(\\"\|[^"]*\)*","type":"group"' | head -n1)" [ ! -z "${chat_title}" ] && utf-16-surrogate-pair-decode "${chat_title:9:-16}"\ - || getusr_name + || getusr_name "${1}" } get_cbks() {