From e8b1e4608742cf82536e4573795e71ab1d4b19b4 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 24 Apr 2022 03:57:41 +0100 Subject: idempotent jao-chats --- init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.org b/init.org index 70b14e9..960c238 100644 --- a/init.org +++ b/init.org @@ -2993,7 +2993,7 @@ (when (or p (y-or-n-p "Connect to telegram? ")) (telega)) (when (or p (y-or-n-p "Connect to libera? ")) - (circe "Libera Chat"))) + (unless (get-buffer "irc.libera.chat:6697") (circe "Libera Chat")))) (defun jao-all-chats () (interactive) (jao-chats t)) -- cgit v1.2.3