Notify: Deaktiviere WebPage-Preview

This commit is contained in:
Andreas Bielawski 2016-08-01 13:02:53 +02:00
parent ece039be15
commit 089e5c7ca2

View File

@ -46,7 +46,7 @@ function notify:pre_process(msg, self)
local from = string.gsub(msg.from.name, "%_", " ") local from = string.gsub(msg.from.name, "%_", " ")
local chat_name = string.gsub(msg.chat.title, "%_", " ") local chat_name = string.gsub(msg.chat.title, "%_", " ")
local text = from..' am '..send_date..' in "'..chat_name..'":\n\n'..msg.text local text = from..' am '..send_date..' in "'..chat_name..'":\n\n'..msg.text
utilities.send_message(self, id, text) utilities.send_message(self, id, text, true)
end end
end end
end end