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">
<PropertyGroup>
<Version>1.29.7</Version>
<Version>1.29.8</Version>
<TargetFramework>net8.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
+5
View File
@@ -211,10 +211,15 @@ public sealed class ChatLogWindow : Window
}
if (info.Permanent)
{
SetChannel(targetChannel);
}
else
{
Plugin.CurrentTab.CurrentChannel.UseTempChannel = true;
Plugin.CurrentTab.CurrentChannel.TempChannel = targetChannel.Value;
}
}
if (info.Text != null && Chat.Length == 0)
Chat = info.Text;