More features
This commit is contained in:
+2
-1
@@ -10,6 +10,7 @@
|
||||
|
||||
(require 'noise-db)
|
||||
(require 'noise-new-chat)
|
||||
(require 'noise-conversation)
|
||||
|
||||
(defun noise-switcher ()
|
||||
"Switch to a Signal conversation via minibuffer completion.
|
||||
@@ -31,7 +32,7 @@ Shows existing conversations and contacts without conversations."
|
||||
(if item
|
||||
(if (gethash "id" item)
|
||||
;; It's a conversation (has an id)
|
||||
(message "Open conversation: %s (not yet implemented)" (gethash "name" item))
|
||||
(noise-conversation-open (gethash "id" item))
|
||||
;; It's a contact without a conversation — start one
|
||||
(noise-new-chat-with-contact (gethash "contact_id" item)
|
||||
(gethash "name" item)))
|
||||
|
||||
Reference in New Issue
Block a user