mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix: /watching
channel jumping around (#4169)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
82d345bc76
commit
ba4422b082
|
@ -123,6 +123,7 @@
|
|||
- Bugfix: Fixed invalid/dangling completion when cycling through previous messages or replying (#4072)
|
||||
- Bugfix: Fixed incorrect .desktop icon path. (#4078)
|
||||
- Bugfix: Mark bad or invalid images as empty. (#4151)
|
||||
- Bugfix: Fixed `/watching` channel jumping around. (#4169)
|
||||
- Dev: Got rid of BaseTheme (#4132)
|
||||
- Dev: Removed official support for QMake. (#3839, #3883)
|
||||
- Dev: Rewrote LimitedQueue (#3798)
|
||||
|
|
|
@ -239,8 +239,11 @@ void NativeMessagingServer::ReceiverThread::handleMessage(
|
|||
postToThread([=] {
|
||||
if (!name.isEmpty())
|
||||
{
|
||||
app->twitch->watchingChannel.reset(
|
||||
app->twitch->getOrAddChannel(name));
|
||||
auto channel = app->twitch->getOrAddChannel(name);
|
||||
if (app->twitch->watchingChannel.get() != channel)
|
||||
{
|
||||
app->twitch->watchingChannel.reset(channel);
|
||||
}
|
||||
}
|
||||
|
||||
if (attach || attachFullscreen)
|
||||
|
|
Loading…
Reference in a new issue