DEV: Add normal as an alias for regular in NotificationLevels.topic_levels (#17466)

Follow-up to 5176c689e9
This commit is contained in:
Osama Sayegh 2022-07-13 06:37:38 +03:00 committed by GitHub
parent f1c32a3cdf
commit 58bf88d7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ module NotificationLevels
def self.topic_levels
@topic_levels ||= Enum.new(muted: 0,
regular: 1,
normal: 1, # alias for regular
tracking: 2,
watching: 3)
end