mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: don't send repeated notifications that there are pending users who need to be approved to moderators who haven't read the previous notification
This commit is contained in:
parent
d9c2b316b6
commit
4c867c5796
3 changed files with 28 additions and 5 deletions
|
@ -37,6 +37,10 @@ class TopicSubtype
|
|||
'notify_user'
|
||||
end
|
||||
|
||||
def self.pending_users_reminder
|
||||
'pending_users'
|
||||
end
|
||||
|
||||
def self.register(name, options={})
|
||||
@subtypes ||= {}
|
||||
@subtypes[name] = TopicSubtype.new(name, options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue