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

Fix grey member because of presence #89

Merged
merged 5 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions config.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
]
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
"https://matrix.agent1.tchap.incubateur.net": false,
Copy link
Contributor

@mcalinghee mcalinghee Jul 12, 2022

Choose a reason for hiding this comment

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

question : false signifie que c'est désactivé?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oui, donc la UI ne montre pas si une personne est en ligne ou pas. On n'a pas cette feature.
Mais la présence du setting enable_presence_by_hs_url permet de rendre l'affichage cohérent. (ca serait une bonne issue pour element-web : en l'absence du setting, afficher un truc cohérent... la flemme de le faire)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sur les gros serveurs, la présence cause des problèmes de performance : matrix-org/synapse#9478
La liste permet de filtrer les gros serveurs.

"https://matrix.agent2.tchap.incubateur.net": false,
"https://matrix.externe.tchap.incubateur.net": false
},
"settingDefaults": {
"breadcrumbs": true,
Expand Down
4 changes: 2 additions & 2 deletions config.preprod.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
]
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
"https://matrix.i.tchap.gouv.fr": false,
"https://matrix.e.tchap.gouv.fr": false
},
"settingDefaults": {
"breadcrumbs": true,
Expand Down
18 changes: 16 additions & 2 deletions config.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,22 @@
]
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
"https://agent.tchap.gouv.fr": false,
"https://agent.agriculture.tchap.gouv.fr": false,
"https://agent.culture.tchap.gouv.fr": false,
"https://agent.dev-durable.tchap.gouv.fr": false,
"https://agent.diplomatie.tchap.gouv.fr": false,
"https://agent.dinum.tchap.gouv.fr": false,
"https://agent.education.tchap.gouv.fr": false,
"https://agent.elysee.tchap.gouv.fr": false,
"https://agent.externe.tchap.gouv.fr": false,
"https://agent.finances.tchap.gouv.fr": false,
"https://agent.interieur.tchap.gouv.fr": false,
"https://agent.intradef.tchap.gouv.fr": false,
"https://agent.justice.tchap.gouv.fr": false,
"https://agent.pm.tchap.gouv.fr": false,
"https://agent.social.tchap.gouv.fr": false,
"https://agent.ssi.tchap.gouv.fr": false
},
"settingDefaults": {
"breadcrumbs": true,
Expand Down
4 changes: 2 additions & 2 deletions config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
]
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
"https://matrix.i.tchap.gouv.fr": false,
"https://matrix.e.tchap.gouv.fr": false
},
"setting_defaults": {
"breadcrumbs": true,
Expand Down