mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:15:05 +08:00
FIX: #present -> #presence typo in TopicRetriever (#20509)
This commit is contained in:
parent
31480bde92
commit
e204c61bd8
|
@ -43,7 +43,7 @@ class TopicRetriever
|
||||||
end
|
end
|
||||||
|
|
||||||
username =
|
username =
|
||||||
@opts[:author_username].present || SiteSetting.embed_by_username.presence ||
|
@opts[:author_username].presence || SiteSetting.embed_by_username.presence ||
|
||||||
SiteSetting.site_contact_username.presence || Discourse.system_user.username
|
SiteSetting.site_contact_username.presence || Discourse.system_user.username
|
||||||
|
|
||||||
TopicEmbed.import_remote(@embed_url, user: User.find_by(username_lower: username.downcase))
|
TopicEmbed.import_remote(@embed_url, user: User.find_by(username_lower: username.downcase))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user