Skip to content

Commit

Permalink
Fix matrix.to links opening in webview in cinny desktop (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfiven committed Sep 22, 2024
1 parent 21164a9 commit 6e191d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/hooks/useMentionClickHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const useMentionClickHandler = (roomId: string): ReactEventHandler<HTMLEl

const handleClick: ReactEventHandler<HTMLElement> = useCallback(
(evt) => {
evt.stopPropagation();
evt.preventDefault();
const target = evt.currentTarget;
const mentionId = target.getAttribute('data-mention-id');
Expand Down

0 comments on commit 6e191d3

Please sign in to comment.