From 294c2aecdc4ba3e79ad8833b6cdd9c5dfebb2235 Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 13 Aug 2019 13:12:09 +0200 Subject: [PATCH] disabled concurrent loading of recent messages it caused some twitch emotes to load improperly --- src/providers/twitch/TwitchChannel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 5ec10aa3a..f2eba6f40 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -612,7 +612,7 @@ void TwitchChannel::loadRecentMessages() Env::get().recentMessagesApiUrl.arg(this->getName())); request.setCaller(QThread::currentThread()); // can't be concurrent right now due to SignalVector - request.setExecuteConcurrently(true); + // request.setExecuteConcurrently(true); request.onSuccess([weak = weakOf(this)](auto result) -> Outcome { auto shared = weak.lock(); @@ -635,10 +635,10 @@ void TwitchChannel::loadRecentMessages() } } - postToThread( - [shared, messages = std::move(allBuiltMessages)]() mutable { - shared->addMessagesAtStart(messages); - }); + // postToThread( + // [shared, messages = std::move(allBuiltMessages)]() mutable { + shared->addMessagesAtStart(allBuiltMessages); + // }); return Success; });