Fix use of Emoji
This commit is contained in:
parent
5d42d92c87
commit
ce91014730
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ module Gitlab
|
|||
#
|
||||
# Returns boolean
|
||||
def valid_emoji?(emoji)
|
||||
Emoji::NAMES.include? emoji
|
||||
Emoji.names.include? emoji
|
||||
end
|
||||
|
||||
# Private: Dispatches to a dedicated processing method based on reference
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue