From 5263b16bb7f7ab30b4abd233bfcbab7ba2561e2c Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Mon, 21 Nov 2022 10:42:33 -0700 Subject: [PATCH] refactor: fix issues with log statments --- PepperDashEssentials/Room/Types/EssentialsHuddleVtc1Room.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PepperDashEssentials/Room/Types/EssentialsHuddleVtc1Room.cs b/PepperDashEssentials/Room/Types/EssentialsHuddleVtc1Room.cs index 038acd9d..d04de3cc 100644 --- a/PepperDashEssentials/Room/Types/EssentialsHuddleVtc1Room.cs +++ b/PepperDashEssentials/Room/Types/EssentialsHuddleVtc1Room.cs @@ -753,13 +753,13 @@ namespace PepperDash.Essentials if (VideoCodec != null) { - Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} is in a video call. Not allowing auto power off", Key); + Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} {1} in a video call", Key, VideoCodec.IsInCall ? "is" : "is not"); allowVideo = !VideoCodec.IsInCall; } if (AudioCodec != null) { - Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} is in an audio call. Not allowing auto power off", Key); + Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} {1} in an audio call", Key, AudioCodec.IsInCall ? "is" : "is not"); allowAudio = !AudioCodec.IsInCall; }