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

Setup feature activation by instance for Tchap #949

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

NicolasBuquet
Copy link
Contributor

Fix #948

@NicolasBuquet NicolasBuquet requested a review from yostyle January 4, 2024 11:26
@NicolasBuquet NicolasBuquet linked an issue Jan 4, 2024 that may be closed by this pull request
2 tasks
return false
}

return targetedFeature.contains(BuildSettings.tchapFeatureAnyInstance) || targetedFeature.contains(self.identityServerURL.replacingOccurrences(of: BuildSettings.serverUrlPrefix, with: ""))
Copy link
Contributor

Choose a reason for hiding this comment

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

on devrait utiliser le homeserver url au lieu de l'IS.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

la gestion des features ne devrait pas dépendre de Account. Dans une classe d'utilitaire si il y'en a une ou dans BuildSetting ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Les features sont basées sur le homeServer qui est stocké dans les credentials de l'Account.

Je pense que c'est le bon endroit.

@NicolasBuquet NicolasBuquet requested a review from yostyle January 4, 2024 16:03
Copy link
Contributor

@yostyle yostyle left a comment

Choose a reason for hiding this comment

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

LGTM

@NicolasBuquet NicolasBuquet merged commit 81be1c7 into develop Jan 8, 2024
2 checks passed
@NicolasBuquet NicolasBuquet deleted the 948-setup-feature-flag-per-instance branch January 8, 2024 14:00
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.

Setup Feature Flag Per Instance
2 participants