 
 (defun floobits-event-highlight (req)
   (setq floobits-last-highlight req)
-  (let* ((ranges (floo-get-item req 'ranges))
+  (let* ((ranges (floobits--get-item req 'ranges))
          (ranges-length (- (length ranges) 1))
-         (user_id (floo-get-item req 'user_id))
-         (username (floo-get-item req 'username))
+         (user_id (floobits--get-item req 'user_id))
+         (username (floobits--get-item req 'username))
          (pos (+ 1 (elt (elt ranges ranges-length) 0)))
-         (path (floo-get-item req 'full_path))
+         (path (floobits--get-item req 'full_path))
          (buffer (get-file-buffer path))
-         (following (floo-get-item req 'following))
-         (should-jump (or (floo-get-item req 'ping) (and
-                                                     (and floobits-follow-mode (or (not floobits-follow-users)
-                                                                                   (member username floobits-follow-users))) (not following))))
+         (following (floobits--get-item req 'following))
+         (should-jump (or (floobits--get-item req 'ping) (and
+                                                          (and floobits-follow-mode (or (not floobits-follow-users)
+                                                                                        (member username floobits-follow-users))) (not following))))
          (buffer (or buffer (and should-jump (find-file path)))))
 
     (floo-when-buf buffer

      (insert-file-contents "~/floobits/persistent.json")
      (let* ((json-key-type 'string)
             (data (json-read-from-string (buffer-string)))
             (data (floo-get-item data 'recent_workspaces)))
        (mapcar (lambda (x) (floo-get-item x 'url)) data)))))

(defun _floobits-get-url-from-dot-floo ()
  (condition-case nil


(defun floobits-event-join (req)
  (floobits-debug-message "%s" req)
  (message "%s joined the workspace"  (floobits--get-item req 'username)))

(defun floobits-event-part (req)
  (floobits-debug-message "%s" req)
  (message "%s left the workspace" (floobits--get-item req 'username)))

(defun floobits-event-create_view (req)
  (find-file (floobits--get-item req 'full_path))
  (floobits-buffer-list-change))

(defun floobits-event-focus (req)
  (find-file (floobits--get-item req 'full_path))
  (goto-char (+ 1 (floobits--get-item req 'offset))))

(defun floobits-highlight-apply-f (f highlights)
  ;; convert to list :(
