hydrogen-sailfishos / harbour-hydrogen

Apache License 2.0
7 stars 8 forks source link

`In reply` links are opened internally #14

Closed pherjung closed 1 year ago

pherjung commented 1 year ago

Even opening link is disabled, it's still possible to click on specific link like:

<a class="link" href="Matrix URL">In reply to</a>
pherjung commented 1 year ago

If hydrogen is opened again with the D-Bus stuff, it should be a workaround to this bug

pherjung commented 1 year ago

It's actually a bug on hydrogen side. Adding target: "_blank". src/platform/web/ui/session/room/timeline/ReplyPreviewView.js. It should be:

+                t.a({ className: "link", target: "_blank", href: vm.permaLink }, "This is second test"),
+                t.a({ className: "pill", target: "_blank", href: vm.senderProfileLink }, [