File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ def subject_without_punctuation
9595 subject . end_with? ( "." ) ? subject [ 0 ..-1 ] : subject
9696 end
9797
98+ def zulip_settings
99+ @_zulip_settings ||= RedmineZulip ::Settings . new ( self )
100+ end
101+
98102 private
99103
100104 def zulip_api
@@ -105,10 +109,6 @@ def zulip_api
105109 )
106110 end
107111
108- def zulip_settings
109- @_zulip_settings ||= RedmineZulip ::Settings . new ( self )
110- end
111-
112112 def notify_assignment
113113 locale = assigned_to . language
114114 message = I18n . t ( "zulip_notify_assignment" , {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def version_updates_subject
5151 private
5252
5353 def evaluate_expression ( expression )
54- return nil if pattern . nil?
54+ return nil if expression . nil?
5555 expression . gsub ( "${issue_id}" , "#{ @issue . id } " )
5656 . gsub ( "${issue_subject}" , @issue . subject_without_punctuation )
5757 . gsub ( "${project_name}" , @issue . project . name )
You can’t perform that action at this time.
0 commit comments