Potential fix for temp channel issues
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user