From 456545efe83d0bd9e6563003cfe60a7e6484b84d Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 29 Oct 2021 12:59:19 -0400 Subject: [PATCH] fix: import nickname from Tupperbox --- PluralKit.Core/Utils/BulkImporter/TupperboxImport.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Core/Utils/BulkImporter/TupperboxImport.cs b/PluralKit.Core/Utils/BulkImporter/TupperboxImport.cs index 43d8eb3f..4b2cd234 100644 --- a/PluralKit.Core/Utils/BulkImporter/TupperboxImport.cs +++ b/PluralKit.Core/Utils/BulkImporter/TupperboxImport.cs @@ -76,6 +76,7 @@ namespace PluralKit.Core patch.Birthday = LocalDate.FromDateTime(parsed.Value.ToDateTimeUtc()); } if (tupper.ContainsKey("description")) patch.Description = tupper.Value("description"); + if (tupper.ContainsKey("nick")) patch.DisplayName = tupper.Value("nick"); if (tupper.ContainsKey("tag") && tupper["tag"].Type != JTokenType.Null) { var tag = tupper.Value("tag");