mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Fixed conditional check to prevent NullReferenceException
This commit is contained in:
parent
00e14b746b
commit
c420e06540
1 changed files with 2 additions and 0 deletions
|
|
@ -336,8 +336,10 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||
if(b.Agenda != null)
|
||||
meeting.Agenda = b.Agenda.Value;
|
||||
if(b.Time != null)
|
||||
{
|
||||
meeting.StartTime = b.Time.StartTime.Value;
|
||||
meeting.EndTime = b.Time.EndTime.Value;
|
||||
}
|
||||
if(b.Privacy != null)
|
||||
meeting.Privacy = CodecCallPrivacy.ConvertToDirectionEnum(b.Privacy.Value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue