From 1cb9fb605801f2525a5dd61ea4d2486f2d7a4245 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 10 Nov 2020 09:29:37 -0700 Subject: [PATCH] Removes unnecessary null check in SendDtmf method --- .../VideoCodec/CiscoCodec/CiscoSparkCodec.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs index ce748699..4e94daef 100644 --- a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs +++ b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs @@ -1339,10 +1339,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco public override void SendDtmf(string s) { - if (CallFavorites != null) - { - SendText(string.Format("xCommand Call DTMFSend CallId: {0} DTMFString: \"{1}\"", GetCallId(), s)); - } + SendText(string.Format("xCommand Call DTMFSend CallId: {0} DTMFString: \"{1}\"", GetCallId(), s)); + } public void SelectPresentationSource(int source)