Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
665d350e by wurstsalat at 2022-10-12T12:51:13+02:00
fix: Preview: Set user-agent for session
Fixes #11205
- - - - -
1 changed file:
- gajim/common/preview.py
Changes:
=====================================
gajim/common/preview.py
=====================================
@@ -208,6 +208,7 @@ def _create_session(account: str) -> tuple[
session.add_feature_by_type(Soup.ContentSniffer)
session.props.https_aliases = ['aesgcm']
session.props.ssl_strict = False
+ session.props.user_agent = f'Gajim {app.version}'
proxy = get_account_proxy(account)
if proxy is None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/665d350efac1123cc72ba02f6d1a77de8b0b3ad3
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/665d350efac1123cc72ba02f6d1a77de8b0b3ad3
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits