From 949ba4894b1237490d872277fc48d2a1fdc26562 Mon Sep 17 00:00:00 2001 From: Infinoid Date: Fri, 21 Apr 2023 10:27:32 -0400 Subject: [PATCH] Fix comment for EmailNotificationsAndYourOwn constant (#24236) This fixes some copypasta in the constant definitions for the `User.EmailNotificationsPreference` field. No code changes. --- models/user/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/user/user.go b/models/user/user.go index 5f152780bf..053d6680cd 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -62,7 +62,7 @@ const ( EmailNotificationsOnMention = "onmention" // EmailNotificationsDisabled indicates that the user would not like to be notified via email. EmailNotificationsDisabled = "disabled" - // EmailNotificationsEnabled indicates that the user would like to receive all email notifications and your own + // EmailNotificationsAndYourOwn indicates that the user would like to receive all email notifications and your own EmailNotificationsAndYourOwn = "andyourown" )