From 83c84b2049143535daecbd8de7aa65e5b86ebda0 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 18:01:46 -0800 Subject: [PATCH] Add Reload Field to CwtchStarted event --- templates/lib_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lib_template.go b/templates/lib_template.go index 5aa32ca..109b59b 100644 --- a/templates/lib_template.go +++ b/templates/lib_template.go @@ -247,7 +247,7 @@ func ReconnectCwtchForeground() { settingsJson, _ := json.Marshal(application.ReadSettings()) application.GetPrimaryBus().Publish(event.NewEvent(settings.UpdateGlobalSettings, map[event.Field]string{event.Data: string(settingsJson)})) - application.GetPrimaryBus().Publish(event.NewEvent(settings.CwtchStarted, map[event.Field]string{})) + application.GetPrimaryBus().Publish(event.NewEvent(settings.CwtchStarted, map[event.Field]string{utils.ReloadEvent: event.True})) application.QueryACNStatus() application.QueryACNVersion() }