mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
FIX: Missing new education keys
This commit is contained in:
parent
84342ecdef
commit
7181e3cb75
@ -19,10 +19,10 @@ class ComposerMessagesFinder
|
||||
def check_education_message
|
||||
if creating_topic?
|
||||
count = @user.created_topic_count
|
||||
education_key = 'education.new_topic'
|
||||
education_key = 'education.new-topic'
|
||||
else
|
||||
count = @user.post_count
|
||||
education_key = 'education.new_reply'
|
||||
education_key = 'education.new-reply'
|
||||
end
|
||||
|
||||
if count < SiteSetting.educate_until_posts
|
||||
|
Loading…
Reference in New Issue
Block a user