mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
UX: remove alias from chat direct message channel titles (#28958)
Makes usernames in Chat Direct Message channels consistent with other areas of the app by removing the alias.
This commit is contained in:
@ -182,7 +182,7 @@ RSpec.describe "Sidebar navigation menu", type: :system do
|
||||
visit("/")
|
||||
|
||||
expect(sidebar_page.dms_section.find(".channel-#{dm_channel_1.id}")["title"]).to eq(
|
||||
"Chat with @<script>alert('hello')</script>",
|
||||
"Chat with <script>alert('hello')</script>",
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user