Skip to content

Commit

Permalink
Remove stray ! when adding the room ID to matrix: URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
nexy7574 committed Jan 17, 2025
1 parent 0ba53e3 commit ad8957f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/ui/timeline/menu/useSecondaryItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const useSecondaryItems = (
if(useMatrixTo) {
generatedUrl += evt.room_id
} else {
generatedUrl += `!${evt.room_id.slice(1)}`
generatedUrl += `${evt.room_id.slice(1)}`
}
if(includeEvent) {
if(useMatrixTo) {
Expand Down

0 comments on commit ad8957f

Please sign in to comment.