mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Missing new education keys
This commit is contained in:
parent
84342ecdef
commit
7181e3cb75
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ class ComposerMessagesFinder
|
||||||
def check_education_message
|
def check_education_message
|
||||||
if creating_topic?
|
if creating_topic?
|
||||||
count = @user.created_topic_count
|
count = @user.created_topic_count
|
||||||
education_key = 'education.new_topic'
|
education_key = 'education.new-topic'
|
||||||
else
|
else
|
||||||
count = @user.post_count
|
count = @user.post_count
|
||||||
education_key = 'education.new_reply'
|
education_key = 'education.new-reply'
|
||||||
end
|
end
|
||||||
|
|
||||||
if count < SiteSetting.educate_until_posts
|
if count < SiteSetting.educate_until_posts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue