Skip to content

Commit

Permalink
antennaStreamのonVotedを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Sep 8, 2023
1 parent 2913789 commit e0eb90e
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 @@ -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;
}
},
Expand Down

0 comments on commit e0eb90e

Please sign in to comment.