Send typing (disabled)

This commit is contained in:
Akamaru 2015-08-15 15:41:47 +02:00
parent 3fb66417b3
commit 8a638550ef

View File

@ -151,6 +151,8 @@ function match_plugin(plugin, plugin_name, msg)
local matches = match_pattern(pattern, msg.text) local matches = match_pattern(pattern, msg.text)
if matches then if matches then
print("Nachricht stimmt überein mit ", pattern) print("Nachricht stimmt überein mit ", pattern)
-- Send typing
--if pattern ~= ".*" then send_typing(receiver, ok_cb, true) end
if is_plugin_disabled_on_chat(plugin_name, receiver) then if is_plugin_disabled_on_chat(plugin_name, receiver) then
return nil return nil