dont leak domain for now

This commit is contained in:
Bruno Windels 2020-06-30 17:06:10 +02:00
parent c9c402310a
commit 8e3d1407c0
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ export default class WebPlatform extends VectorBasePlatform {
}
getDefaultDeviceDisplayName(): string {
return "unknown browser";
// strip query-string and fragment from uri
const u = url.parse(window.location.href);
u.protocol = "";