Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e226ee3

Browse files
committed
style
1 parent da3bd2c commit e226ee3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

synapse/rest/client/v1/pusher.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ async def on_POST(self, request):
110110

111111
# rewrite push url from m.org sygnal to Tchap sygnal
112112
good_sygnal_url = None
113-
if content["app_id"].startswith("fr.gouv.btchap") or content["app_id"].startswith("fr.gouv.rie.tchap"):
113+
if (
114+
content["app_id"].startswith("fr.gouv.btchap")
115+
or content["app_id"].startswith("fr.gouv.rie.tchap")
116+
):
114117
good_sygnal_url = "https://sygnal.preprod.tchap.gouv.fr"
115118
elif content["app_id"].startswith("fr.gouv.tchap"):
116119
good_sygnal_url = "https://sygnal.tchap.gouv.fr"

0 commit comments

Comments
 (0)