mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed recent messages being parsed concurrently
This commit is contained in:
parent
1ec109748f
commit
ed87d6e2fa
1 changed files with 0 additions and 1 deletions
|
@ -665,7 +665,6 @@ void TwitchChannel::loadRecentMessages()
|
||||||
}
|
}
|
||||||
|
|
||||||
NetworkRequest(Env::get().recentMessagesApiUrl.arg(this->getName()))
|
NetworkRequest(Env::get().recentMessagesApiUrl.arg(this->getName()))
|
||||||
.concurrent()
|
|
||||||
.onSuccess([weak = weakOf<Channel>(this)](auto result) -> Outcome {
|
.onSuccess([weak = weakOf<Channel>(this)](auto result) -> Outcome {
|
||||||
auto shared = weak.lock();
|
auto shared = weak.lock();
|
||||||
if (!shared)
|
if (!shared)
|
||||||
|
|
Loading…
Reference in a new issue