mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
show message in tile when call uses foci, explaining we can't join
This commit is contained in:
parent
825602a04a
commit
f5838b21ba
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user