This commit is contained in:
Black Hat
2018-11-22 08:01:07 +08:00
parent 3ec1cf71bf
commit 1248b6f334
4 changed files with 45 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
#ifndef MESSAGEEVENTMODEL_H
#define MESSAGEEVENTMODEL_H
#include "spectralroom.h"
#include "room.h"
#include "spectralroom.h"
#include <QtCore/QAbstractListModel>
@@ -62,6 +62,7 @@ class MessageEventModel : public QAbstractListModel {
const QMatrixClient::Room::rev_iter_t& baseIt) const;
QString renderDate(QDateTime timestamp) const;
void refreshLastUserEvents(int baseRow);
void refreshEventRoles(int row, const QVector<int>& roles = {});
int refreshEventRoles(const QString& eventId, const QVector<int>& roles = {});