-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(pinned_events): get pinned event ids from the HS as fallback #4205
fix(pinned_events): get pinned event ids from the HS as fallback #4205
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4205 +/- ##
==========================================
+ Coverage 84.87% 84.90% +0.02%
==========================================
Files 272 272
Lines 29125 29143 +18
==========================================
+ Hits 24720 24744 +24
+ Misses 4405 4399 -6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job. Left one question about get_state_events_for_key
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if the tests are passing, thanks!
I had to fix the tests separately 😅 . Will merge once the tests are green. |
…n't contain it This should take care of a bug that caused pinned events to be incorrectly removed when the new pinned event ids list was based on an empty one if the required state of the room didn't contain any pinned events info
7e82a24
to
72a0ea6
Compare
When the required state of a room doesn't contain pinned events info for some reason, try using the
/state
endpoint from the HS to get this data instead.This should take care of a bug that caused pinned events to be incorrectly removed when the new pinned event ids list was based on an empty one if the required state of the room didn't contain any pinned events info
Signed-off-by: