mirror of https://github.com/vector-im/riot-web
Update Element Call URL generation to match new parameter semantics (#11749)
The semantics of the preload parameter are changing as detailed here, meaning we now have to additionally specify skipLobby to get the desired behavior out of Element Call: https://github.com/vector-im/element-call/pull/1730pull/28217/head
parent
5a0ebbfdaa
commit
dfdb613673
|
@ -642,9 +642,10 @@ export class ElementCall extends Call {
|
||||||
|
|
||||||
// Splice together the Element Call URL for this call
|
// Splice together the Element Call URL for this call
|
||||||
const params = new URLSearchParams({
|
const params = new URLSearchParams({
|
||||||
embed: "",
|
embed: "true", // We're embedding EC within another application
|
||||||
preload: "",
|
preload: "true", // We want it to load in the background
|
||||||
hideHeader: "",
|
skipLobby: "true", // Skip the lobby since we show a lobby component of our own
|
||||||
|
hideHeader: "true", // Hide the header since our room header is enough
|
||||||
userId: client.getUserId()!,
|
userId: client.getUserId()!,
|
||||||
deviceId: client.getDeviceId()!,
|
deviceId: client.getDeviceId()!,
|
||||||
roomId: groupCall.room.roomId,
|
roomId: groupCall.room.roomId,
|
||||||
|
|
Loading…
Reference in New Issue