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

Added a disclaimer in Notification Settings for "Mentions Only" #2081

Merged
merged 6 commits into from
Nov 15, 2023

Conversation

Velin92
Copy link
Member

@Velin92 Velin92 commented Nov 14, 2023

fixes #2078
The disclaimer is slightly different between the global settings and an encrypted room custom setting.
For a non ecrypted room custom settings the disclaimer will not appear (doesn't matter if accessed from the global setting or from the room settings)
If the homeserver supports MSC 4028 the disclaimer won't appear at all in any case, an API is exposed on the SDK to allow that

Requires the following PR to be merged in the Rust SDK

All the following cases are tested on a sever that does not support 4028
custom setting for a non encrypted room (no change)
Simulator Screenshot - iPhone 14 - 2023-11-14 at 16 13 38
custom setting for an encrypted room
Simulator Screenshot - iPhone 14 - 2023-11-14 at 16 13 32
custom setting for an encrypted room, from room details
Simulator Screenshot - iPhone 14 - 2023-11-14 at 16 12 56
global settings
Simulator Screenshot - iPhone 14 - 2023-11-14 at 16 12 35

@Velin92 Velin92 requested a review from a team as a code owner November 14, 2023 15:17
@Velin92 Velin92 requested review from stefanceriu, nimau and pixlwave and removed request for a team, stefanceriu and pixlwave November 14, 2023 15:17
Copy link

github-actions bot commented Nov 14, 2023

Warnings
⚠️ Please add a changelog.
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 1e84cdc

Copy link
Contributor

@nimau nimau left a comment

Choose a reason for hiding this comment

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

LGTM 👍 (just a single comment on the naming)

@Velin92 Velin92 force-pushed the mauroromito/mention_only_warning branch from 0df64b9 to 656f24a Compare November 15, 2023 14:22
@Velin92 Velin92 enabled auto-merge (squash) November 15, 2023 14:34
Copy link

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 2 Code Smells

No Coverage information No Coverage information
30.3% 30.3% Duplication

@Velin92 Velin92 merged commit 342feb4 into develop Nov 15, 2023
6 checks passed
@Velin92 Velin92 deleted the mauroromito/mention_only_warning branch November 15, 2023 14:57
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.

Mentions: Add a warning on servers where MSC 4028 is not supported
2 participants