diff options
Diffstat (limited to 'src/client/app/common/scripts')
| -rw-r--r-- | src/client/app/common/scripts/stream.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/stream.ts b/src/client/app/common/scripts/stream.ts index 7456c0b074..70180bc5b7 100644 --- a/src/client/app/common/scripts/stream.ts +++ b/src/client/app/common/scripts/stream.ts @@ -156,7 +156,7 @@ class Pool { this.channel = channel; this.stream = stream; - this.id = Math.random().toString(); + this.id = Math.random().toString().substr(2, 8); this.stream.on('_disconnected_', this.onStreamDisconnected); } @@ -275,7 +275,7 @@ class NonSharedConnection extends Connection { super(stream, channel); this.params = params; - this.id = Math.random().toString(); + this.id = Math.random().toString().substr(2, 8); this.connect(); } |