Skip to content

Commit

Permalink
Fix: Refreshing the poll when receiving pollEnd can break the chronol…
Browse files Browse the repository at this point in the history
…ogical order in the store.
  • Loading branch information
nimau committed Apr 20, 2023
1 parent 98e7c1c commit fb464aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions MatrixSDK/Aggregations/MXAggregations.m
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,6 @@ - (void)registerListener
[self.beaconAggregations handleBeaconWithEvent:event];
}
break;
case MXEventTypePollEnd:
[self.aggregatedPollsUpdater refreshPollAfter:event];
default:
break;
}
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-1776.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Poll: Refreshing the poll when receiving pollEnd can break the chronological order in the store.

0 comments on commit fb464aa

Please sign in to comment.