From 0b28aa5179bac51473279402043ed0118b4179ee Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Thu, 10 Oct 2024 15:50:43 +0200 Subject: [PATCH] Fix condition typo that prevented meeting creation --- Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift b/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift index 0cf9422e4..84ac81e15 100644 --- a/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift +++ b/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift @@ -238,7 +238,7 @@ class MeetingViewModel: ObservableObject { } func schedule() { - guard !subject.isEmpty && participants.isEmpty else { + guard !subject.isEmpty && !participants.isEmpty else { Log.error("\(MeetingViewModel.TAG) Either no subject was set or no participant was selected, can't schedule meeting.") DispatchQueue.main.async { ToastViewModel.shared.toastMessage = "Failed_no_subject_or_participant"