rule34.lua: Sende Source bei gifs

This commit is contained in:
Akamaru 2015-11-26 15:19:21 +01:00
parent d51ee9bf1d
commit 160328cc5f

View File

@ -32,7 +32,7 @@ local function run(msg, matches)
url=url
}
if string.ends(url, ".gif") then
send_document_from_url(receiver, url)
send_msg(receiver, id, send_document_from_url_callback, cb_extra)
else
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
end