Add button for hiding images and videos

This commit is contained in:
Tobias Fella
2025-06-11 23:28:54 +02:00
committed by Tobias Fella
parent b972703f34
commit 598a1c28ac
4 changed files with 47 additions and 5 deletions

View File

@@ -407,4 +407,9 @@ void Controller::markImageShown(const QString &eventId)
m_shownImages.append(eventId);
}
void Controller::markImageHidden(const QString &eventId)
{
m_shownImages.removeAll(eventId);
}
#include "moc_controller.cpp"