From 67376be12326b4de0adc636188938d39534af5bd Mon Sep 17 00:00:00 2001 From: rladenson <78043712+rladenson@users.noreply.github.com> Date: Thu, 19 Jan 2023 14:11:25 -0700 Subject: [PATCH] feat(bot): change message count sorting (#514) --- PluralKit.Bot/Commands/Lists/ListOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/Lists/ListOptions.cs b/PluralKit.Bot/Commands/Lists/ListOptions.cs index 69e1c455..ae2fb6a5 100644 --- a/PluralKit.Bot/Commands/Lists/ListOptions.cs +++ b/PluralKit.Bot/Commands/Lists/ListOptions.cs @@ -122,7 +122,7 @@ public static class ListOptionsExt .OrderByDescending(m => m.MetadataPrivacy.CanAccess(ctx)) .ThenBy(m => m.MetadataPrivacy.Get(ctx, m.Created, default), ReverseMaybe(Comparer.Default)), SortProperty.MessageCount => input - .OrderByDescending(m => m.MessageCount != 0 && m.MetadataPrivacy.CanAccess(ctx)) + .OrderByDescending(m => m.MetadataPrivacy.CanAccess(ctx)) .ThenByDescending(m => m.MetadataPrivacy.Get(ctx, m.MessageCount, 0), ReverseMaybe(Comparer.Default)), SortProperty.DisplayName => input .OrderByDescending(m => m.DisplayName != null && m.NamePrivacy.CanAccess(ctx))