From cb7df12005e3ccf1a6c16be0aa624520e952d462 Mon Sep 17 00:00:00 2001 From: Infi Date: Mon, 18 Nov 2024 19:50:53 +0100 Subject: [PATCH] Potential fix for temp channel issues --- ChatTwo/ChatTwo.csproj | 2 +- ChatTwo/Ui/ChatLogWindow.cs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChatTwo/ChatTwo.csproj b/ChatTwo/ChatTwo.csproj index 2b12995..37c8c38 100755 --- a/ChatTwo/ChatTwo.csproj +++ b/ChatTwo/ChatTwo.csproj @@ -1,6 +1,6 @@ - 1.29.7 + 1.29.8 net8.0-windows enable enable diff --git a/ChatTwo/Ui/ChatLogWindow.cs b/ChatTwo/Ui/ChatLogWindow.cs index e0472e2..817af5c 100644 --- a/ChatTwo/Ui/ChatLogWindow.cs +++ b/ChatTwo/Ui/ChatLogWindow.cs @@ -211,9 +211,14 @@ 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)