From 3b638321d6982527e28f646eaee2a5d3d49c1fdc Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Tue, 16 Aug 2016 20:58:28 +0200 Subject: [PATCH] Fixe Notify. Uups! --- otouto/plugins/notify.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/notify.lua b/otouto/plugins/notify.lua index 1786815..8ab5304 100644 --- a/otouto/plugins/notify.lua +++ b/otouto/plugins/notify.lua @@ -27,7 +27,7 @@ function notify:pre_process(msg, self) local notify_users = redis:smembers('notify:ls') -- I call this beautiful lady the "if soup" - if msg.chat.type == 'chat' or msg.chat.type == 'supergroup' then + if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then if msg.text then for _,user in pairs(notify_users) do if isWordFoundInString('@'..user, string.lower(msg.text)) then