summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--org-roam-ui.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index 53ded37..1a3f64d 100644
--- a/README.md
+++ b/README.md
@@ -339,6 +339,11 @@ tbd
# Supporting org-roam-ui
+## Chat
+
+We have a small telegram group for discussing org-roam-ui, you can join if you're cool.
+https://t.me/+sEuL2qi37yw1NzQy
+
## Feedback
For feature suggestions, please make an issue or check out the discussions for [major](https://github.com/org-roam/org-roam-ui/discussions/66) and [minor features](https://github.com/org-roam/org-roam-ui/discussions/6).
diff --git a/org-roam-ui.el b/org-roam-ui.el
index e1431ff..c56ca6f 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -229,10 +229,10 @@ Takes _WS and FRAME as arguments."
(defun org-roam-ui--on-msg-open-node (data)
"Open a node when receiving DATA from the websocket."
- (let* ((node (org-roam-node-from-id (alist-get'id data)))
- (pos (org-roam-node-point node))
- (buf (org-roam-node-find-noselect node))
- (id (alist-get 'id data)))
+ (let* ((id (alist-get 'id data))
+ (node (org-roam-node-from-id id))
+ (pos (org-roam-node-point node))
+ (buf (find-file-noselect (org-roam-node-file node))))
(run-hook-with-args 'org-roam-ui-before-open-node-functions id)
(unless (window-live-p org-roam-ui--window)
(if-let ((windows (window-list))