mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:15:48 +08:00
196b791365
See: https://meta.discourse.org/t/display-full-name-not-username-when-attributing-quote-or-reply/203533?u=isaacjanzen for context The initial release [broke quoting](https://meta.discourse.org/t/quoting-broken-when-name-matches-username/217633?u=isaacjanzen) but we now pass the username when ``` siteSettings.display_name_on_posts && !siteSettings.prioritize_username_in_ux && post.name ``` as well as the full name to guarantee that we are not getting any mismatches when querying for user / avatar. eg. ``` [quote="Isaac Janzen, post:3, topic:7, full:true, username:isaac.janzen"] bing bong [/quote] ``` |
||
---|---|---|
.. | ||
schemas | ||
shared | ||
backups_spec.rb | ||
badges_spec.rb | ||
categories_spec.rb | ||
groups_spec.rb | ||
invites_spec.rb | ||
notifications_spec.rb | ||
posts_spec.rb | ||
private_messages_spec.rb | ||
search_spec.rb | ||
site_spec.rb | ||
tags_spec.rb | ||
topics_spec.rb | ||
uploads_spec.rb | ||
user_badges_spec.rb | ||
users_spec.rb |