Load the initial cache data without blocking the UI

This commit is contained in:
Konstantinos Sideris 2018-01-21 21:43:21 +02:00
parent c123bada94
commit c59cd0e80b
5 changed files with 52 additions and 37 deletions

View file

@ -77,6 +77,8 @@ private:
QString userAvatar_;
};
Q_DECLARE_METATYPE(RoomState)
template<class Collection>
void
RoomState::updateFromEvents(const std::vector<Collection> &collection)