Don't follow link in the chatbar

This commit is contained in:
James Graham
2026-02-08 14:56:02 +00:00
parent 3aa4a915b1
commit c79753716c

View File

@@ -105,7 +105,9 @@ TextEdit {
textFormat: Text.RichText
onLinkActivated: link => {
RoomManager.resolveResource(link, "join");
if (!root.editable) {
RoomManager.resolveResource(link, "join");
}
}
onHoveredLinkChanged: if (hoveredLink.length > 0 && hoveredLink !== "1") {
(QQC2.ApplicationWindow.window as Main).hoverLinkIndicator.text = hoveredLink;