Fix an issue with the miner not switching away from no-longer-watchable channels in specific cases

This commit is contained in:
DevilXD committed 2025-09-09 23:01:39 +02:00
1 parent f3c189e86d
commit 6e08d1ef50
1 file changed
+1 -1
+1 -1
View File
@@ -852,7 +852,7 @@ class Twitch:
self.watch(new_watching) self.watch(new_watching)
# break the state change chain by clearing the flag # break the state change chain by clearing the flag
self._state_change.clear() self._state_change.clear()
elif watching_channel is not None: elif watching_channel is not None and self.can_watch(watching_channel):
# otherwise, continue watching what we had before # otherwise, continue watching what we had before
self.gui.status.update( self.gui.status.update(
_("status", "watching").format(channel=watching_channel.name) _("status", "watching").format(channel=watching_channel.name)