summaryrefslogtreecommitdiff
path: root/Assistant/XMPP
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-05 15:40:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-05 15:40:56 -0400
commitffeb353813754e431ed3a6ae80c3d4422792db78 (patch)
tree8cd9a2044b0493a4e5c5f3648d50e518513190c0 /Assistant/XMPP
parentf3fe98b12f533ccdf34e07b7209cb6a4b329b300 (diff)
switch to silent chat messages for XMPP pairing
Along the way, significantly cleaned up Assistant.XMPP, and made XMPP message decoding more efficient.
Diffstat (limited to 'Assistant/XMPP')
-rw-r--r--Assistant/XMPP/Buddies.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/XMPP/Buddies.hs b/Assistant/XMPP/Buddies.hs
index 77e506ee9..fe5d8c6a9 100644
--- a/Assistant/XMPP/Buddies.hs
+++ b/Assistant/XMPP/Buddies.hs
@@ -67,7 +67,7 @@ applyPresence p b = fromMaybe b $! go <$> presenceFrom p
, buddyPresent = removefrom $ buddyPresent b
, buddyAssistants = removefrom $ buddyAssistants b
}
- | isGitAnnexPresence p = b
+ | hasGitAnnexTag p = b
{ buddyAssistants = addto $ buddyAssistants b
, buddyAway = removefrom $ buddyAway b }
| presenceType p == PresenceAvailable = b