From 1fab398778d2df6bd9e8ce3b3a1fd9fe2f6edead Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 8 Aug 2025 01:38:05 +0800 Subject: [PATCH] :bug: Fix post service poll loading --- DysonNetwork.Sphere/Post/PostService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Sphere/Post/PostService.cs b/DysonNetwork.Sphere/Post/PostService.cs index ff30907..9f16799 100644 --- a/DysonNetwork.Sphere/Post/PostService.cs +++ b/DysonNetwork.Sphere/Post/PostService.cs @@ -676,7 +676,7 @@ public partial class PostService( // Find the index of the poll embed first var pollIndex = embeds.FindIndex(e => - e.ContainsKey("Type") && ((JsonElement)e["Type"]).ToString() == "poll" + e.ContainsKey("type") && ((JsonElement)e["type"]).ToString() == "poll" ); if (pollIndex < 0)