mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 06:08:48 +03:00
Fix misc CI issues
This commit is contained in:
parent
df1da1e18f
commit
c4ba832331
3 changed files with 3 additions and 7 deletions
|
@ -117,4 +117,3 @@ private:
|
||||||
|
|
||||||
QHash<QString, QColor> userColors;
|
QHash<QString, QColor> userColors;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ TimelineViewManager::setHistoryView(const QString &room_id)
|
||||||
|
|
||||||
auto room = models.find(room_id);
|
auto room = models.find(room_id);
|
||||||
if (room != models.end()) {
|
if (room != models.end()) {
|
||||||
timeline_ = room.value().get();
|
timeline_ = room.value().data();
|
||||||
timeline_->fetchHistory();
|
timeline_->fetchHistory();
|
||||||
emit activeTimelineChanged(timeline_);
|
emit activeTimelineChanged(timeline_);
|
||||||
nhlog::ui()->info("Activated room {}", room_id.toStdString());
|
nhlog::ui()->info("Activated room {}", room_id.toStdString());
|
||||||
|
|
|
@ -32,10 +32,7 @@ public:
|
||||||
void sync(const mtx::responses::Rooms &rooms) {}
|
void sync(const mtx::responses::Rooms &rooms) {}
|
||||||
void clearAll() { models.clear(); }
|
void clearAll() { models.clear(); }
|
||||||
|
|
||||||
Q_INVOKABLE TimelineModel *activeTimeline() const
|
Q_INVOKABLE TimelineModel *activeTimeline() const { return timeline_; }
|
||||||
{
|
|
||||||
return timeline_;
|
|
||||||
}
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void clearRoomMessageCount(QString roomid);
|
void clearRoomMessageCount(QString roomid);
|
||||||
|
|
Loading…
Reference in a new issue