Skip to content
Snippets Groups Projects
Commit 31944179 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Award Emoji can't be awarded on system notes backend

parent d8563bd6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -187,6 +187,10 @@ class Note < ActiveRecord::Base
award_emoji_supported? && contains_emoji_only?
end
 
def emoji_awardable?
!system?
end
def clear_blank_line_code!
self.line_code = nil if self.line_code.blank?
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment