rule34.lua: Sende Source bei gifs

This commit is contained in:
Akamaru 2015-11-26 15:19:21 +01:00
parent d51ee9bf1d
commit 160328cc5f
1 changed files with 1 additions and 1 deletions

View File

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