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

Add support for m.local_notification_settings.<device-id> in account_… #1596

Conversation

gileluard
Copy link
Contributor

@gileluard gileluard commented Oct 4, 2022

needed for #6797

As per MSC3890 we'll need to catch the new m.local_notification_settings.<device-id> event in the account data to know if the session support local notification and if it's silenced.

@gileluard gileluard requested review from a team and stefanceriu and removed request for a team October 4, 2022 14:09
Copy link
Contributor

@ismailgulek ismailgulek left a comment

Choose a reason for hiding this comment

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

I had a look to understand element-hq/element-ios#6798 better and lgtm!

@gileluard
Copy link
Contributor Author

@ismailgulek Yeah ... I didn't think this PR lacks of context....

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.

I'm happy if Ismail is happy but looks good to me too 👍 😄

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

❗ No coverage uploaded for pull request base (develop@1b643c7). Click here to learn what that means.
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #1596   +/-   ##
==========================================
  Coverage           ?   13.48%           
==========================================
  Files              ?      542           
  Lines              ?    86707           
  Branches           ?    36842           
==========================================
  Hits               ?    11689           
  Misses             ?    74576           
  Partials           ?      442           
Impacted Files Coverage Δ
MatrixSDK/Data/MXAccountData.m 24.56% <0.00%> (ø)
MatrixSDK/MXRestClient.m 2.47% <ø> (ø)
MatrixSDKTests/MXAccountDataTests.m 0.00% <0.00%> (ø)
MatrixSDKTests/MXMatrixVersionsUnitTests.swift 0.00% <0.00%> (ø)

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.

@gileluard gileluard merged commit f2d6895 into develop Oct 4, 2022
@gileluard gileluard deleted the gil/6797-Display_push_toggle_for_sessions_with_m.local_notification_settings.device-id branch October 4, 2022 15:13
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