Skip to content

Commit

Permalink
Fix matrix.to links opening in webview in cinny desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
kfiven committed Sep 20, 2024
1 parent 21164a9 commit 7443712
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 7443712

Please sign in to comment.