Skip to content
Browse files

Fix xa autoaway status string.

  • Loading branch information...
1 parent 67e9181 commit 105f771013032cce3c6dc4f82d8f093bdeaeff84 @evgkrsk evgkrsk committed
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))

0 comments on commit 105f771

Please sign in to comment.
Something went wrong with that request. Please try again.