Emoji only mode WIP:

* Button to enable it on all rooms.
This commit is contained in:
John Livingston
2024-09-06 11:53:07 +02:00
parent 08017ac2bb
commit 91cddfa8d8
7 changed files with 116 additions and 2 deletions

View File

@ -107,7 +107,9 @@ local function update_room(event)
end
if type(config.livechat_emoji_only) == "boolean" then
if set_peertubelivechat_emoji_only_mode then
set_peertubelivechat_emoji_only_mode(room, config.livechat_emoji_only)
if set_peertubelivechat_emoji_only_mode(room, config.livechat_emoji_only) then
must104 = true;
end
end
end
if type(config.livechat_custom_emoji_regexp) == "string" then