fix: breakout rooms with non-ascii room names

Somewhere along a double encoding for the room names occurred, thus
currently moderation does not work for rooms names which contain non-
ascii charaters like ä etc.

This essentially reverts a6bc51cff1
pull/13198/head jitsi-meet_8541
Christoph Settgast 2 years ago committed by Дамян Минков
parent 62f1139193
commit 046f9c53ab
  1. 5
      resources/prosody-plugins/mod_jitsi_session.lua

@ -3,7 +3,6 @@
module:set_global();
local formdecode = require "util.http".formdecode;
local urlencode = require "util.http".urlencode;
-- Extract the following parameters from the URL and set them in the session:
-- * previd: for session resumption
@ -22,8 +21,8 @@ function init_session(event)
session.customusername = query and params.customusername or nil;
-- The room name and optional prefix from the web query
session.jitsi_web_query_room = urlencode(params.room);
session.jitsi_web_query_prefix = urlencode(params.prefix) or "";
session.jitsi_web_query_room = params.room;
session.jitsi_web_query_prefix = params.prefix or "";
end
end

Loading…
Cancel
Save