From 64b2b06733e3b84a5454033dad8aebafa84a69aa Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Thu, 15 Jan 2026 23:08:29 -0700 Subject: [PATCH] corrected bug in stashing saved topic list view values to session --- conference.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conference.go b/conference.go index 66a58fe..b2f6266 100644 --- a/conference.go +++ b/conference.go @@ -77,10 +77,11 @@ func Topics(ctxt ui.AmContext) (string, any, error) { v := ctxt.GetSession("topic.conf").(int32) if v == conf.ConfId { trustSessionValues = true - } else { - ctxt.SetSession("topic.conf", conf.ConfId) } } + if !trustSessionValues { + ctxt.SetSession("topic.conf", conf.ConfId) + } view := database.TopicViewActive if trustSessionValues && ctxt.IsSession("topic.view") { view = ctxt.GetSession("topic.view").(int)