Skip to content
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

Fixes problems processing invites, build rooms differently based on their membership #3189

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

stefanceriu
Copy link
Member

@stefanceriu stefanceriu commented Aug 21, 2024

Copy link

github-actions bot commented Aug 21, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 9427c57

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiice 🤩

stefanceriu added a commit to matrix-org/matrix-rust-sdk that referenced this pull request Aug 21, 2024
…d rooms to be build differently than "full" ones (#3869)

We're finding ourselves in the situation in which we can't interact with
invites through normal Room APIs as `full_room`s can't be build from the
RoomListItem. Full rooms require the timeline to be configured before
use and the timeline can't be configured because encryption cannot be
fetched for invited rooms on homeservers that have previews disabled
(see #3848 and #3850)

In response we now expose the room's membership directly from the
`RoomListItem` so that the final client can chose which of the 2 rooms
types (invited or full) to ask for before using aforementioned APIs.

Powers element-hq/element-x-ios#3189
@stefanceriu stefanceriu marked this pull request as ready for review August 21, 2024 14:40
@stefanceriu stefanceriu requested a review from a team as a code owner August 21, 2024 14:40
@stefanceriu stefanceriu requested review from Velin92 and removed request for a team August 21, 2024 14:40
Copy link

sonarcloud bot commented Aug 21, 2024

@stefanceriu stefanceriu enabled auto-merge (rebase) August 21, 2024 15:02
@stefanceriu stefanceriu merged commit 4e3ab9c into develop Aug 21, 2024
5 of 6 checks passed
@stefanceriu stefanceriu deleted the stefan/buildRoomsDifferentlyBasedOnMembershi branch August 21, 2024 15:02
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.92%. Comparing base (e281a3f) to head (9427c57).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3189      +/-   ##
===========================================
+ Coverage    77.71%   77.92%   +0.20%     
===========================================
  Files          717      717              
  Lines        56478    56543      +65     
===========================================
+ Hits         43893    44059     +166     
+ Misses       12585    12484     -101     
Flag Coverage Δ
unittests 68.43% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix for bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants