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

feat: Enable email notifications for all servers #941

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

estellecomment
Copy link
Contributor

@estellecomment estellecomment commented Mar 21, 2024

#940

Also adding to TchapFeatures : ["*"] means all servers (avoids listing them all, cluttering the config file and forgetting some in the list)

@estellecomment estellecomment changed the title Enable email notifications for all servers feat: Enable email notifications for all servers Mar 21, 2024
@estellecomment estellecomment marked this pull request as ready for review March 21, 2024 16:42
Comment on lines 46 to 48
if (homeserversWithFeature.length === 1 && homeserversWithFeature[0] === "*") {
return true;
}
Copy link
Contributor

@MarcWadai MarcWadai Mar 25, 2024

Choose a reason for hiding this comment

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

Peut être ajouter en commentaire que le check du size 1 permet d'ignorer l'étoile s'il y a d'autre homeservers (merci les tests unitaires qui m'ont permit de comprendre pourquoi ! haha)

@MarcWadai
Copy link
Contributor

Trop bien le teeest et la nouvelle feature de pouvoir mettre l'étoile, bravoo ! 🎊
Et je pense que pour cette PR, il peut être pas mal de squash tout les commits en 1 seul :)

@MarcWadai MarcWadai added the enhancement New feature or request label Mar 25, 2024
@estellecomment estellecomment force-pushed the email-notifications-for-all branch from 1424ac8 to f2ad846 Compare March 25, 2024 14:05
@estellecomment estellecomment force-pushed the email-notifications-for-all branch from f2ad846 to 797a272 Compare March 25, 2024 14:07
@estellecomment estellecomment merged commit 69ad88d into develop_tchap Mar 25, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants