pass msg ID to single msg layout

This commit is contained in:
Martin Rotter 2021-11-18 09:48:13 +01:00
parent 6796c81ce0
commit b35d52be31
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@ Here is overview of all placeholders used throughtout the skin:
%5 - Date/time of the article. %5 - Date/time of the article.
%6 - Attachments (composed from html_enclosure_every.html). %6 - Attachments (composed from html_enclosure_every.html).
%7 - Attached pictures (composed from html_enclosure_image.html). %7 - Attached pictures (composed from html_enclosure_image.html).
%8 - Database ID of the message.
html_adblocked.html: html_adblocked.html:
%1 - Title of the page. This page is used when the website is entirely blocked by AdBlock. %1 - Title of the page. This page is used when the website is entirely blocked by AdBlock.

View file

@ -154,7 +154,8 @@ void WebViewer::loadMessages(const QList<Message>& messages, RootItem* root) {
message.m_contents, message.m_contents,
msg_date, msg_date,
enclosures, enclosures,
enclosure_images)); enclosure_images,
QString::number(message.m_id)));
} }
m_root = root; m_root = root;