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

Combine NFC, MXID, and phone number door access logic #552

Merged
merged 3 commits into from
Feb 2, 2025

Conversation

drjaska
Copy link
Collaborator

@drjaska drjaska commented Feb 2, 2025

This removes code duplication for now and makes it easier to work with future refactors.

4bfbed3

  • Moves logic from 3 separate functions into one
  • Adds logging to phone access

I would recommend to review this by opening the abstraction function and one of the original functions side by side and comparing, then repeating this for the rest of the original functions.


7feb3cd Reorders a function in the file.

@drjaska drjaska force-pushed the access-token-refactor branch from 7feb3cd to 039d047 Compare February 2, 2025 11:48
@drjaska drjaska force-pushed the access-token-refactor branch from 08e01ee to a5abbfd Compare February 2, 2025 12:09
@tswfi tswfi marked this pull request as ready for review February 2, 2025 13:16
Copy link
Member

@tswfi tswfi left a comment

Choose a reason for hiding this comment

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

👍

@tswfi tswfi merged commit 5aa3c8c into master Feb 2, 2025
1 check passed
@tswfi tswfi deleted the access-token-refactor branch February 2, 2025 13:17
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.

2 participants