default length added to generateCallID

This commit is contained in:
Mic 2024-09-04 20:35:58 +02:00
parent ac2600d631
commit 24e9400350

View file

@ -123,7 +123,7 @@ function compareThunderbirdVersions(v1, v2) {
return 0;
}
export function generateCallID(length) {
export function generateCallID(length = 10) {
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
const charactersLength = characters.length;