diff --git a/plugin.rb b/plugin.rb index e930dfa6..4e674b1d 100644 --- a/plugin.rb +++ b/plugin.rb @@ -239,12 +239,10 @@ after_initialize do on(:before_create_topic) do |topic_params, user| next if topic_params[:archetype] == 'message' - if topic_params[:category]&.custom_fields&.[]('create_topic_wizard').present? && !topic_params[:from_wizard] raise Discourse::InvalidParameters.new( I18n.t('wizard.error_messages.wizard_replacing_composer') ) end end - end