Fixes für CallbackQuerys

This commit is contained in:
Andreas Bielawski
2016-09-08 16:50:42 +02:00
parent 2f95b6b562
commit 93b1a1eab2
2 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ function pocket:add_pocket_item(access_token, url)
local code = result.item.response_code
local text = title..' ('..given_url..') hinzugefügt!'
if not code then return text end
if code ~= "200" and code ~= "0" then text = text..'\nAber die Seite liefert Fehler '..code..' zurück.' end
return text
end