From 21f8caf0064566ebcf74de75c37cccf752a08709 Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 15 Jun 2020 12:54:22 +0200 Subject: [PATCH] Update type signature of MessageContext rows --- PluralKit.Core/Database/Functions/MessageContext.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/PluralKit.Core/Database/Functions/MessageContext.cs b/PluralKit.Core/Database/Functions/MessageContext.cs index 4de64d2c..062c2f9e 100644 --- a/PluralKit.Core/Database/Functions/MessageContext.cs +++ b/PluralKit.Core/Database/Functions/MessageContext.cs @@ -1,5 +1,4 @@ #nullable enable -using System.Collections.Generic; using NodaTime; @@ -20,9 +19,9 @@ namespace PluralKit.Core public MemberId? AutoproxyMember { get; } public ulong? LastMessage { get; } public MemberId? LastMessageMember { get; } - public SwitchId LastSwitch { get; } - public MemberId[] LastSwitchMembers { get; } = new MemberId[0]; - public Instant LastSwitchTimestamp { get; } + public SwitchId? LastSwitch { get; } + public MemberId[] LastSwitchMembers { get; } + public Instant? LastSwitchTimestamp { get; } public string? SystemTag { get; } public string? SystemAvatar { get; } }