diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-05 15:40:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-05 15:40:56 -0400 |
commit | ffeb353813754e431ed3a6ae80c3d4422792db78 (patch) | |
tree | 8cd9a2044b0493a4e5c5f3648d50e518513190c0 /Assistant/XMPP/Buddies.hs | |
parent | f3fe98b12f533ccdf34e07b7209cb6a4b329b300 (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/Buddies.hs')
-rw-r--r-- | Assistant/XMPP/Buddies.hs | 2 |
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 |