Skip to content

Commit

Permalink
fix: Visio : null call url in 1:1 or chat group - EXO-71167
Browse files Browse the repository at this point in the history
Before this fix, when switching for a room to another one, and then launching a call, the room name in url is null
This fix udpate the room name computation during context switching in order to have the correct name
  • Loading branch information
rdenarie committed Apr 23, 2024
1 parent 95b404a commit e03f6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/main/webapp/js/webconferencing.js
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@
var isRoom = target.detail.type === "t"; // roomId && roomId.startsWith("team-");
var isGroup = isSpace || isRoom;
// roomName from its title - it is a logic used in Chat, so reuse it here:
var roomName = target.detail.prettyName;
var roomName = isSpace ? target.detail.prettyName : roomTitle.toLowerCase().split(" ").join("_");
context = {
currentUser: currentUser,
roomId: target.detail.user,
Expand Down

0 comments on commit e03f6ac

Please sign in to comment.