|
@@ -1,4 +1,5 @@
|
1
|
1
|
local get_room_from_jid = module:require "util".get_room_from_jid;
|
|
2
|
+local room_jid_match_rewrite = module:require "util".room_jid_match_rewrite;
|
2
|
3
|
local jid_resource = require "util.jid".resource;
|
3
|
4
|
local ext_events = module:require "ext_events"
|
4
|
5
|
local st = require "util.stanza";
|
|
@@ -25,7 +26,7 @@ function on_message(event)
|
25
|
26
|
= event.stanza:get_child('speakerstats', 'http://jitsi.org/jitmeet');
|
26
|
27
|
if speakerStats then
|
27
|
28
|
local roomAddress = speakerStats.attr.room;
|
28
|
|
- local room = get_room_from_jid(roomAddress);
|
|
29
|
+ local room = get_room_from_jid(room_jid_match_rewrite(roomAddress));
|
29
|
30
|
|
30
|
31
|
if not room then
|
31
|
32
|
log("warn", "No room found %s", roomAddress);
|