forked from matrix/element-web
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