From 822a339532fdb164da7be7cde8cae83fbaa544d0 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 5 Aug 2025 22:12:42 +0800 Subject: [PATCH] :bug: Bug fixes in loading poll --- 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 3d34168..d3e697d 100644 --- a/DysonNetwork.Sphere/Post/PostService.cs +++ b/DysonNetwork.Sphere/Post/PostService.cs @@ -678,7 +678,7 @@ public partial class PostService( // Find the index of the poll embed first var pollIndex = embeds.FindIndex(e => - e.ContainsKey("type") && (string)e["type"] == "poll"); + e.ContainsKey("Type") && (string)e["Type"] == "poll"); if (pollIndex < 0) return;