From c4fa575bc5cca5d200b650ea902081dfb9a4c554 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 27 Jun 2016 20:42:01 +0200 Subject: [PATCH] Tagesschau-Eilmeldungen werden jetzt per Datum verglichen, nicht mehr per Link --- otouto/plugins/tagesschau_eil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/tagesschau_eil.lua b/otouto/plugins/tagesschau_eil.lua index 07cf81c..2cde2ca 100644 --- a/otouto/plugins/tagesschau_eil.lua +++ b/otouto/plugins/tagesschau_eil.lua @@ -99,7 +99,7 @@ function tagesschau_eil:cron(self_plz) local post_url = string.gsub(data.breakingnews[1].details, '/api/', '/') local post_url = string.gsub(post_url, '.json', '.html') local eil = title..'\n_'..posted_at..'_\n'..news..'\n[Artikel aufrufen]('..post_url..')' - redis:set(hash..':last_entry', data.breakingnews[1].details) + redis:set(hash..':last_entry', data.breakingnews[1].date) for _,user in pairs(redis:smembers(hash..':subs')) do local user = string.gsub(user, 'chat%#id', '') local user = string.gsub(user, 'user%#id', '')