From 1e130fb692b6c21b09b03bacdfd00600bb3982db Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 20 Dec 2021 11:19:50 +0100 Subject: Add fediring links --- scripts/metadata_filter.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 25fbc50..b16ab92 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua @@ -189,7 +189,7 @@ function generate_list(meta) url = p.url, thumbnail = p.thumbnail, icon = p.icon or meta.icon, - post_icon = meta.list_post_icon, + post_icon = p.post_icon or meta.list_post_icon, indicator = meta.list_read_indicators, } end) @@ -205,7 +205,7 @@ function generate_list(meta) url = p.url, thumbnail = p.thumbnail, icon = p.icon or cat.icon, - post_icon = cat.list_post_icon or meta.list_post_icon, + post_icon = p.post_icon or cat.list_post_icon or meta.list_post_icon, indicator = cat.list_read_indicators, } end) @@ -237,7 +237,7 @@ function generate_list(meta) url = p.url, thumbnail = p.thumbnail, icon = p.icon or c.icon, - post_icon = c.list_post_icon or cat.list_post_icon, + post_icon = p.post_icon or c.list_post_icon or cat.list_post_icon, indicator = c.list_read_indicators, } end) @@ -248,7 +248,7 @@ function generate_list(meta) subtitle = c.subtitle, url = c.url, icon = c.icon or cat.icon, - post_icon = cat.list_post_icon, + post_icon = c.post_icon or cat.list_post_icon, indicator = cat.list_read_indicators, }) return l -- cgit v1.2.3-70-g09d2