|
|
@ -1,5 +1,6 @@ |
|
|
|
#include "TimelineViewManager.h" |
|
|
|
#include "TimelineViewManager.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <QDesktopServices> |
|
|
|
#include <QMetaType> |
|
|
|
#include <QMetaType> |
|
|
|
#include <QPalette> |
|
|
|
#include <QPalette> |
|
|
|
#include <QQmlContext> |
|
|
|
#include <QQmlContext> |
|
|
@ -219,6 +220,12 @@ TimelineViewManager::openImageOverlay(QString mxcUrl, QString eventId) const |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
|
|
|
|
TimelineViewManager::openLink(QString link) const |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
QDesktopServices::openUrl(link); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
TimelineViewManager::updateReadReceipts(const QString &room_id, |
|
|
|
TimelineViewManager::updateReadReceipts(const QString &room_id, |
|
|
|
const std::vector<QString> &event_ids) |
|
|
|
const std::vector<QString> &event_ids) |
|
|
|