diff --git a/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua b/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua index 805dde14..39cff2e0 100644 --- a/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua +++ b/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua @@ -135,7 +135,7 @@ local function apply_config(room, settings) room._data.x_peertubelivechat_emoji_only_mode = config.livechat_emoji_only; end if (type(config.livechat_emoji_only_regexp) == "string" and config.livechat_emoji_only_regexp ~= "") then - room._data.x_peertubelivechat_emoji_only_regexp = config.emoji_only_regexp; + room._data.x_peertubelivechat_emoji_only_regexp = config.livechat_emoji_only_regexp; end if (type(config.livechat_muc_terms) == "string") then -- we don't need to use set_muc_terms here, as this is called for a newly created room