Potential fix for temp channel issues

This commit is contained in:
Infi
2024-11-18 19:50:53 +01:00
parent a648bcf60d
commit cb7df12005
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Version>1.29.7</Version> <Version>1.29.8</Version>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
+5
View File
@@ -211,10 +211,15 @@ public sealed class ChatLogWindow : Window
} }
if (info.Permanent) if (info.Permanent)
{
SetChannel(targetChannel); SetChannel(targetChannel);
}
else else
{
Plugin.CurrentTab.CurrentChannel.UseTempChannel = true;
Plugin.CurrentTab.CurrentChannel.TempChannel = targetChannel.Value; Plugin.CurrentTab.CurrentChannel.TempChannel = targetChannel.Value;
} }
}
if (info.Text != null && Chat.Length == 0) if (info.Text != null && Chat.Length == 0)
Chat = info.Text; Chat = info.Text;