From 5f598be5edc16faf9aaf10b1952f6b2f9c1cbfa2 Mon Sep 17 00:00:00 2001 From: Ben Bernard Date: Wed, 7 Jun 2023 10:17:18 -0700 Subject: [PATCH] Fix event start script bug --- MeetingBar/ActionsOnEventStart.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeetingBar/ActionsOnEventStart.swift b/MeetingBar/ActionsOnEventStart.swift index 43d03e4a..76b8f208 100644 --- a/MeetingBar/ActionsOnEventStart.swift +++ b/MeetingBar/ActionsOnEventStart.swift @@ -35,7 +35,7 @@ class ActionsOnEventStart: NSObject { // Only run if the user has activated it. let autoJoinActionActive = Defaults[.automaticEventJoin] - let runEventStartScriptActionActive = Defaults[.runEventStartScript] && (Defaults[.joinEventScriptLocation] != nil) + let runEventStartScriptActionActive = Defaults[.runEventStartScript] && (Defaults[.eventStartScriptLocation] != nil) if !autoJoinActionActive, !runEventStartScriptActionActive { return