show message in tile when call uses foci, explaining we can't join

This commit is contained in:
Bruno Windels 2023-01-27 10:12:51 +01:00
parent 825602a04a
commit f5838b21ba

View File

@ -118,11 +118,14 @@ export class CallTile extends SimpleTile {
}
get typeLabel() {
if (this._call && this._call.usesFoci) {
return `This call uses a stream-forwarding unit, which isn't supported yet, so you can't join this call.`;
}
if (this.type === CallType.Video) {
return `Video call`;
} else {
return `Voice call`;
}
return `Video call`;
} else {
return `Voice call`;
}
}
get type() {