Clear user colors on theme change

pull/127/head
Nicolas Werner 5 years ago
parent fcaec0d099
commit 2895162971
  1. 3
      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<int, QByteArray>

Loading…
Cancel
Save