Skip to content

Commit 8da0bc7

Browse files
committed
update changeloge
1 parent 7fc1798 commit 8da0bc7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/stream_feeds/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## unreleased
22
- Update follower and following counts on the feed state when receiving follow websocket events.
33
- Fix FeedsReactionData id for updating reactions in the feed state.
4+
- Improve feed and activity state updates for websocket events.
45

56
## 0.3.1
67
- Update API client with renaming `addReaction` to `addActivityReaction` and `deleteReaction` to `deleteActivityReaction`.

packages/stream_feeds/lib/src/state/event/activity_event_handler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ActivityEventHandler implements StateEventHandler {
3535

3636
@override
3737
Future<void> handleEvent(WsEvent event) async {
38-
if(await _partialActivityEventHandler.handleEvent(event)) return;
38+
if (await _partialActivityEventHandler.handleEvent(event)) return;
3939
if (event is api.PollClosedFeedEvent) {
4040
return state.onPollClosed(event.poll.toModel());
4141
}

0 commit comments

Comments
 (0)