You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Fix call ID NaN
We were seeing call IDs of NaN in the wild somehow... hopefully this should make sure they're all actually strings.
This commit is contained in:
@@ -211,8 +211,8 @@ export class CallError extends Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function genCallID() {
|
function genCallID(): string {
|
||||||
return Date.now() + randomString(16);
|
return Date.now().toString() + randomString(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user