summary refs log tree commit diff
path: root/include/RoomState.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-21 21:43:21 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-21 21:43:21 +0200
commitc59cd0e80bcbf1e37b7d6b021275d4c8f90f1914 (patch)
treee809690d042aca74c620b09f4a9f471cbe2240a3 /include/RoomState.h
parentRefactor avatar fetching in one function (diff)
downloadnheko-c59cd0e80bcbf1e37b7d6b021275d4c8f90f1914.tar.xz
Load the initial cache data without blocking the UI
Diffstat (limited to 'include/RoomState.h')
-rw-r--r--include/RoomState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/RoomState.h b/include/RoomState.h

index 0e91410c..6f335263 100644 --- a/include/RoomState.h +++ b/include/RoomState.h
@@ -77,6 +77,8 @@ private: QString userAvatar_; }; +Q_DECLARE_METATYPE(RoomState) + template<class Collection> void RoomState::updateFromEvents(const std::vector<Collection> &collection)