This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "emacs-jabber".
The branch, master has been updated
via 20663ad928f0690ff0030c1a0d991b35d1d059ce (commit)
from a1835deb5c8e1609b2ba0aa1c65a2cfa88c76aca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 20663ad928f0690ff0030c1a0d991b35d1d059ce
Author: Magnus Henoch <mag...@gm...>
Date: Sat Oct 24 14:23:09 2015 +0100
jabber-read-account: find live connection if possible
If the current buffer is associated with a dead connection, and there is
a live connection for the same bare JID, suggest that as the default
when prompting for which account to use.
diff --git a/jabber-util.el b/jabber-util.el
index 8e4438e..40d2b20 100644
--- a/jabber-util.el
+++ b/jabber-util.el
@@ -387,7 +387,7 @@ that has that contact in its roster."
(jabber-connection-bare-jid matching))))
;; if the buffer is associated with a connection, use it
(when (and jabber-buffer-connection
- (memq jabber-buffer-connection jabber-connections))
+ (jabber-find-active-connection jabber-buffer-connection))
(jabber-connection-bare-jid jabber-buffer-connection))
;; else, use the first connection in the list
(caar completions)))
-----------------------------------------------------------------------
Summary of changes:
jabber-util.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
emacs-jabber
|