i forgot typescript is evil sometimes
This commit is contained in:
1 parent
139290e326
commit
525d3e311d
1 file changed
+1
-1
@@ -52,7 +52,7 @@ export class CallEmbed {
|
||||
|
||||
private readonly disposables: Array<() => void> = [];
|
||||
|
||||
static getIntent(dm: boolean, ongoing: boolean, video: boolean): ElementCallIntent {
|
||||
static getIntent(dm: boolean, ongoing: boolean, video: boolean | undefined): ElementCallIntent {
|
||||
if (!dm) {
|
||||
return video ? ElementCallIntent.JoinExisting : ElementCallIntent.JoinExistingDMVoice;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user