default length added to generateCallID
This commit is contained in:
parent
ac2600d631
commit
24e9400350
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ function compareThunderbirdVersions(v1, v2) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function generateCallID(length) {
|
export function generateCallID(length = 10) {
|
||||||
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||||
let result = '';
|
let result = '';
|
||||||
const charactersLength = characters.length;
|
const charactersLength = characters.length;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue