Skip to content
Snippets Groups Projects
Commit c4ba8323 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix misc CI issues

parent df1da1e1
No related branches found
No related tags found
No related merge requests found
......@@ -112,9 +112,8 @@ private:
QString room_id_;
QString prev_batch_token_;
bool isInitialSync = true;
bool isInitialSync = true;
bool paginationInProgress = false;
QHash<QString, QColor> userColors;
};
......@@ -44,7 +44,7 @@ TimelineViewManager::setHistoryView(const QString &room_id)
auto room = models.find(room_id);
if (room != models.end()) {
timeline_ = room.value().get();
timeline_ = room.value().data();
timeline_->fetchHistory();
emit activeTimelineChanged(timeline_);
nhlog::ui()->info("Activated room {}", room_id.toStdString());
......
......@@ -32,10 +32,7 @@ public:
void sync(const mtx::responses::Rooms &rooms) {}
void clearAll() { models.clear(); }
Q_INVOKABLE TimelineModel *activeTimeline() const
{
return timeline_;
}
Q_INVOKABLE TimelineModel *activeTimeline() const { return timeline_; }
signals:
void clearRoomMessageCount(QString roomid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment