Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix xa autoaway status string.

  • Loading branch information...
commit 105f771013032cce3c6dc4f82d8f093bdeaeff84 1 parent 67e9181
@evgkrsk evgkrsk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jabber-autoaway.el
View
2  jabber-autoaway.el
@@ -144,7 +144,7 @@ Return nil on error."
(unless (member *jabber-current-show* '("xa" "dnd"))
(jabber-send-presence
(if xa "xa" "away")
- (if (string= *jabber-current-status* jabber-default-status) (if xa jabber-autoaway-xa-status jabber-autoaway-status) *jabber-current-status*)
+ (if (or (string= *jabber-current-status* jabber-default-status) (string= *jabber-current-status* jabber-autoaway-status)) (if xa jabber-autoaway-xa-status jabber-autoaway-status) *jabber-current-status*)
(or (if xa jabber-autoaway-priority jabber-autoaway-xa-priority) *jabber-current-priority*)))
(setq jabber-autoaway-last-idle-time (jabber-autoaway-get-idle-time))
Please sign in to comment.
Something went wrong with that request. Please try again.