diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index ed1b3075..8de6bec6 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -196,6 +196,9 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj if (idx >= 0) emit dataChanged(index(idx, 0), index(idx, 0)); }); + + connect( + ChatPage::instance(), &ChatPage::themeChanged, this, [this]() { userColors.clear(); }); } QHash