From dd2690c3f433539230f7435ffee6e71491166089 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 17 Jun 2020 22:39:54 +0200 Subject: [PATCH] Get rid of compiler warning --- PluralKit.Core/Database/Functions/MessageContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Database/Functions/MessageContext.cs b/PluralKit.Core/Database/Functions/MessageContext.cs index 062c2f9e..febafdaa 100644 --- a/PluralKit.Core/Database/Functions/MessageContext.cs +++ b/PluralKit.Core/Database/Functions/MessageContext.cs @@ -20,7 +20,7 @@ namespace PluralKit.Core public ulong? LastMessage { get; } public MemberId? LastMessageMember { get; } public SwitchId? LastSwitch { get; } - public MemberId[] LastSwitchMembers { get; } + public MemberId[] LastSwitchMembers { get; } = new MemberId[0]; public Instant? LastSwitchTimestamp { get; } public string? SystemTag { get; } public string? SystemAvatar { get; }