From ffeb353813754e431ed3a6ae80c3d4422792db78 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2012 15:40:56 -0400 Subject: switch to silent chat messages for XMPP pairing Along the way, significantly cleaned up Assistant.XMPP, and made XMPP message decoding more efficient. --- Assistant/XMPP/Buddies.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant/XMPP') 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 -- cgit v1.2.3