Fix typo.

This commit is contained in:
John Livingston 2024-09-05 19:22:58 +02:00
parent 5db4f46421
commit b115c28ee7
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -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