mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-12 18:06:25 +00:00
system-util: Fix user-agent.
This commit is contained in:
@@ -49,7 +49,7 @@ class SystemUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setUserAgent(webViewUserAgent: string): void {
|
setUserAgent(webViewUserAgent: string): void {
|
||||||
this.userAgent = `ZulipElectron/'${app.getVersion()}${webViewUserAgent}`;
|
this.userAgent = `ZulipElectron/${app.getVersion()} ${webViewUserAgent}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
getUserAgent(): string | null {
|
getUserAgent(): string | null {
|
||||||
|
|||||||
Reference in New Issue
Block a user