A platform for community discussion. Free, open, simple.
DEV: Fix chat user option extension enum check (#34917)
Jarek Radoszf0ef9c664bb3
diff --git a/plugins/chat/lib/chat/user_option_extension.rb b/plugins/chat/lib/chat/user_option_extension.rbindex cc7730f72c2..8e347c43f8d 100644--- a/plugins/chat/lib/chat/user_option_extension.rb+++ b/plugins/chat/lib/chat/user_option_extension.rb@@ -50,7 +50,7 @@ module Chatprefix: "chat_separate_sidebar_mode"end- if !base.method_defined?(:chat_send_shortcut_default?)+ if !base.method_defined?(:chat_send_shortcut_enter?)base.enum :chat_send_shortcut, base.chat_send_shortcut, prefix: "chat_send_shortcut"end