mirror of
https://github.com/element-hq/synapse
synced 2024-09-06 11:10:06 +00:00
Merge branch 'daniel/useragent' into daniel/3pidinvites
This commit is contained in:
commit
ca6496c27c
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class SimpleHttpClient(object):
|
|||
)
|
||||
self.user_agent = hs.version_string
|
||||
if hs.config.user_agent_suffix:
|
||||
self.user_agent += " - " + hs.config.user_agent_suffix
|
||||
self.user_agent = "%s %s" % (self.user_agent, hs.config.user_agent_suffix,)
|
||||
|
||||
def request(self, method, uri, *args, **kwargs):
|
||||
# A small wrapper around self.agent.request() so we can easily attach
|
||||
|
|
Loading…
Reference in a new issue