From e0eb90ee60726c12305dfe50b3328035bd0b1ac1 Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Fri, 8 Sep 2023 22:17:17 +0900 Subject: [PATCH] =?UTF-8?q?antennaStream=E3=81=AEonVoted=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/misskey_dart_base.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/misskey_dart_base.dart b/lib/src/misskey_dart_base.dart index 59a26bc4..d371faa7 100644 --- a/lib/src/misskey_dart_base.dart +++ b/lib/src/misskey_dart_base.dart @@ -380,7 +380,7 @@ class Misskey { await onDeleted?.call(id, DateTime.parse(response["deletedAt"])); return; case NoteUpdatedEventType.pollVoted: - await onVoted?.call(response["choice"], response["userId"]); + await onVoted?.call(id, TimelineVoted.fromJson(response)); return; } },