From 1acc8a27d975ebc714eca62ea7fc828fa92f2a9e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 1 Dec 2020 00:23:39 +0100 Subject: Matrix: remove sync sleep --- TODO | 1 - src/plugins/Matrix.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index e4b0f2b..ea1b02b 100644 --- a/TODO +++ b/TODO @@ -137,7 +137,6 @@ Prev token is incorrect if additional messages have been fetched and comparing t Create multiple BodyItem types. BodyItem has a lot of fields and most of them are not always used. Have a list of redacted events so when fetching previous events, we can filter out the redacted events (directly in the matrix plugin). Add grid view to matrix and navigate between them using alt+arrow keys. -Show reactions in pinned messages tab? Remove display names from reactions if there are many reactions, and instead group them into: reaction (#number of this type of reaction); for example: 👍 2. Make reaction and deleted message provisional. Allow removing reactions. diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 1d28ed2..33eb3a4 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -1147,8 +1147,7 @@ namespace QuickMedia { } sync_end: - if(sync_running) - std::this_thread::sleep_for(std::chrono::milliseconds(500)); + {} } }); } -- cgit v1.2.3