If all accounts are already connected in jabber-connect-all, say so

This commit is contained in:
Magnus Henoch 2012-07-27 09:02:21 +01:00
parent b0416214a3
commit 32df62fd02
1 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,10 @@ With many prefix arguments, one less is passed to `jabber-connect'."
(jabber-jid-server jid)
(jabber-jid-resource jid)
nil password network-server
port connection-type))))))))
port connection-type)
(setq connected-one t))))
(unless connected-one
(message "All configured Jabber accounts are already connected"))))))
;;;###autoload (autoload 'jabber-connect "jabber" "Connect to the Jabber server and start a Jabber XML stream.\nWith prefix argument, register a new account.\nWith double prefix argument, specify more connection details." t)
(defun jabber-connect (username server resource &optional