Skip to content

Commit

Permalink
Merge pull request #17 from poppingmoon/fix-antenna-on-voted
Browse files Browse the repository at this point in the history
antennaStreamのonVotedを修正
  • Loading branch information
shiosyakeyakini-info authored Nov 26, 2023
2 parents 19827d9 + e0eb90e commit b33cd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/misskey_dart_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,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;
case NoteUpdatedEventType.updated:
await onUpdated?.call(id, NoteEdited.fromJson(response));
Expand Down

0 comments on commit b33cd8d

Please sign in to comment.