Fix logging via QR code when using MDM-configured homeserver#7228
Merged
Conversation
Contributor
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
|
bmarty
enabled auto-merge
July 16, 2026 08:45
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7228 +/- ##
===========================================
- Coverage 80.53% 80.53% -0.01%
===========================================
Files 2730 2730
Lines 78992 78986 -6
Branches 10707 10706 -1
===========================================
- Hits 63618 63612 -6
- Misses 11232 11233 +1
+ Partials 4142 4141 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Content
When logging in via QR Code, it is checked that the homeserver the user is logging in to, is the same as configured by MDM. This check has a bug (e.g. comparing https://example.com vs example.com). The same check is applied when the homeserver is pre-configured via custom app.
For now, we remove this check because of the following:
On iOS the check was already removed before.
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist