From 0d39d59a04e38bd878f56101c10e05896ba57c81 Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Sun, 3 May 2026 16:13:38 +0200 Subject: [PATCH] feat: opt-in auto-pop-out for new /tell tabs --- ChatTwo/AutoTellTabsService.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ChatTwo/AutoTellTabsService.cs b/ChatTwo/AutoTellTabsService.cs index 3349dc0..5234b0c 100644 --- a/ChatTwo/AutoTellTabsService.cs +++ b/ChatTwo/AutoTellTabsService.cs @@ -223,6 +223,17 @@ internal sealed class AutoTellTabsService : IDisposable PreloadHistory(tab, partner.Name, partner.World, currentMessage.Id); tab.AddMessage(currentMessage, unread: true); + + // Hellion Chat v0.6.1 — opt-in: open new /tell tabs directly as a + // pop-out window. Set BEFORE Tabs.Add so the next render-tick's + // AddPopOutsToDraw() sees PopOut=true and spawns the Popout window + // alongside the tab going into the list. No SaveConfig() because + // auto-tell tabs are IsTempTab (session-only, never persisted). + if (Plugin.Config.AutoTellTabsOpenAsPopout) + { + tab.PopOut = true; + } + Plugin.Config.Tabs.Add(tab); }