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:
David Battersby
2024-09-18 22:18:46 +04:00
committed by GitHub
parent 05b8ff436c
commit 4bfe78d1e6
3 changed files with 11 additions and 11 deletions

View File

@ -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