From b35d52be3192965c77d71a15843edfb316a5c543 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 18 Nov 2021 09:48:13 +0100 Subject: [PATCH] pass msg ID to single msg layout --- resources/skins/plain/README | 1 + src/librssguard/gui/webviewer.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/skins/plain/README b/resources/skins/plain/README index 9af9b9f2b..d87d10ae4 100644 --- a/resources/skins/plain/README +++ b/resources/skins/plain/README @@ -20,6 +20,7 @@ Here is overview of all placeholders used throughtout the skin: %5 - Date/time of the article. %6 - Attachments (composed from html_enclosure_every.html). %7 - Attached pictures (composed from html_enclosure_image.html). + %8 - Database ID of the message. html_adblocked.html: %1 - Title of the page. This page is used when the website is entirely blocked by AdBlock. diff --git a/src/librssguard/gui/webviewer.cpp b/src/librssguard/gui/webviewer.cpp index e0651103e..7e9e40454 100644 --- a/src/librssguard/gui/webviewer.cpp +++ b/src/librssguard/gui/webviewer.cpp @@ -154,7 +154,8 @@ void WebViewer::loadMessages(const QList& messages, RootItem* root) { message.m_contents, msg_date, enclosures, - enclosure_images)); + enclosure_images, + QString::number(message.m_id))); } m_root = root;