mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
create unique device names
This commit is contained in:
parent
8e3d1407c0
commit
6da70bdfbd
@ -173,7 +173,7 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||
}
|
||||
|
||||
getDefaultDeviceDisplayName(): string {
|
||||
return "unknown browser";
|
||||
return "unknown browser " + Math.round(Number.MAX_SAFE_INTEGER * Math.random());
|
||||
|
||||
// strip query-string and fragment from uri
|
||||
const u = url.parse(window.location.href);
|
||||
|
Loading…
Reference in New Issue
Block a user