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

Threads: removed "unread_thread_notifications" from sync filters #7067

Conversation

gileluard
Copy link
Contributor

resolves #7066

@gileluard gileluard requested review from a team and Anderas and removed request for a team November 10, 2022 12:25
}
};

[mxSession supportedMatrixVersions:^(MXMatrixVersions *matrixVersions) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks to me like [self supportLazyLoadOfRoomMembers] called above is also doing mxSession supportedMatrixVersions] check so we may be doing it twice? Could thse be somehow combined to get all server capabilities at once?

@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Base: 11.72% // Head: 11.79% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (8b19305) compared to base (2184f1f).
Patch coverage: 26.66% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7067      +/-   ##
===========================================
+ Coverage    11.72%   11.79%   +0.07%     
===========================================
  Files         1613     1620       +7     
  Lines       158529   158731     +202     
  Branches     64369    64546     +177     
===========================================
+ Hits         18589    18724     +135     
- Misses      139305   139368      +63     
- Partials       635      639       +4     
Flag Coverage Δ
uitests 54.38% <47.03%> (-0.10%) ⬇️
unittests 6.06% <5.20%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
Config/BuildSettings.swift 43.07% <ø> (ø)
Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m 0.00% <0.00%> (ø)
Riot/Managers/Settings/RiotSettings.swift 88.33% <ø> (-0.10%) ⬇️
Riot/Modules/Room/RoomViewController.m 0.00% <0.00%> (ø)
.../WYSIWYGInputToolbar/WysiwygInputToolbarView.swift 0.00% <0.00%> (ø)
Riot/Modules/TabBar/MasterTabBarController.m 0.00% <0.00%> (ø)
RiotSwiftUI/Modules/Common/Extensions/View.swift 0.00% <0.00%> (ø)
...n/InfoSheet/Coordinator/InfoSheetCoordinator.swift 0.00% <0.00%> (ø)
.../Modules/Common/InfoSheet/InfoSheetViewModel.swift 0.00% <0.00%> (ø)
...es/Common/InfoSheet/MockInfoSheetScreenState.swift 0.00% <0.00%> (ø)
... and 49 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.

…server that doesn't support MSC3773

- Update after review
@sonarcloud
Copy link

sonarcloud bot commented Nov 10, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@gileluard gileluard merged commit 17536cc into develop Nov 14, 2022
@gileluard gileluard deleted the gil/7066-unread_thread_notifications_shouldn_t_be_sent_if_the_homeserver_doesn_t_support_notifications_per_threads branch November 14, 2022 06:06
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.

unread_thread_notifications shouldn't be sent if the home server doesn't support notifications per threads
2 participants