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

Direct room with a third party #1727

Merged
merged 4 commits into from
Mar 1, 2023
Merged

Direct room with a third party #1727

merged 4 commits into from
Mar 1, 2023

Conversation

nimau
Copy link
Contributor

@nimau nimau commented Feb 27, 2023

This PR fixes part of element-ios #6612

When creating a direct chat with a 3rd party, use their email as the direct room id.
When updating the room summary, use the third party display name, if available, rather than empty room.

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Base: 37.38% // Head: 17.63% // Decreases project coverage by -19.76% ⚠️

Coverage data is based on head (6e702a6) compared to base (29e3713).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1727       +/-   ##
============================================
- Coverage    37.38%   17.63%   -19.76%     
============================================
  Files          612      612               
  Lines        96171    96185       +14     
  Branches     41586    40387     -1199     
============================================
- Hits         35952    16960    -18992     
- Misses       59164    78709    +19545     
+ Partials      1055      516      -539     
Impacted Files Coverage Δ
MatrixSDK/Data/MXRoomSummaryUpdater.m 4.20% <0.00%> (-40.69%) ⬇️
MatrixSDK/MXSession.m 10.73% <0.00%> (-29.19%) ⬇️
MatrixSDKTests/MatrixSDKTestsData.h 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/Utils/MXDateProvider.swift 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/Crypto/Utils/MXCryptoTools.m 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/Crypto/Devices/MXDeviceList.h 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/Crypto/Data/MXOlmSessionResult.m 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/Crypto/Migration/MXCryptoVersion.h 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/JSONModels/Sync/Room/MXRoomSyncState.m 0.00% <0.00%> (-100.00%) ⬇️
MatrixSDK/JSONModels/Sync/MXPresenceSyncResponse.m 0.00% <0.00%> (-100.00%) ⬇️
... and 189 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nimau nimau marked this pull request as ready for review February 28, 2023 07:33
Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

looks good to me 👍

Copy link
Member

@giomfo giomfo left a comment

Choose a reason for hiding this comment

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

SGTM, only one remark

MatrixSDK/Data/MXRoomSummaryUpdater.m Show resolved Hide resolved
@nimau nimau merged commit cd68123 into develop Mar 1, 2023
@nimau nimau deleted the nimau/6612-invite-email branch March 1, 2023 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants