mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fix: moved setting set in event before null check
This commit is contained in:
parent
a09212417c
commit
6f9a9ee255
1 changed files with 3 additions and 2 deletions
|
|
@ -3493,10 +3493,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||
|
||||
void OnPasswordRequired(bool lastAttemptIncorrect, bool loginFailed, bool loginCancelled, string message)
|
||||
{
|
||||
_meetingPasswordRequired = !loginFailed || !loginCancelled;
|
||||
|
||||
var handler = PasswordRequired;
|
||||
if (handler != null)
|
||||
{
|
||||
_meetingPasswordRequired = !loginFailed || !loginCancelled;
|
||||
Debug.Console(2, this, "Meeting Password Required: {0}", _meetingPasswordRequired);
|
||||
|
||||
handler(this, new PasswordPromptEventArgs(lastAttemptIncorrect, loginFailed, loginCancelled, message));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue