Category5.TV Community Forum

Full Version: Telegram notifications not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Environment: NEMS 1.5 Build 7 on RPi

Telegram notifications don't  work in some cases because telegram chat ids aren't allways negative but notify-by-telegram.lua allways prefixes the chat-id with an "-".
Modifying the script by changing


Code:
local chat_id = '-' .. arg[2]

to

Code:
local chat_id = arg[2]
solves the problem.