One more case

This commit is contained in:
smoogipoo 2020-12-21 16:23:42 +09:00
parent a59124dd93
commit 64a32723f3
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public void CopyFrom(Room other)
ParticipantCount.Value = other.ParticipantCount.Value;
EndDate.Value = other.EndDate.Value;
if (DateTimeOffset.Now >= EndDate.Value)
if (EndDate.Value != null && DateTimeOffset.Now >= EndDate.Value)
Status.Value = new RoomStatusEnded();
if (!Playlist.SequenceEqual(other.Playlist))