From 2798e659c701a3c6122930ece994411b3ec8b266 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 3 Nov 2012 14:32:59 -0400 Subject: bugfix --- Assistant/Threads/XMPPClient.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant') diff --git a/Assistant/Threads/XMPPClient.hs b/Assistant/Threads/XMPPClient.hs index 9ecceabe5..113bc06ab 100644 --- a/Assistant/Threads/XMPPClient.hs +++ b/Assistant/Threads/XMPPClient.hs @@ -104,7 +104,7 @@ decodeStanza fulljid (ReceivedPresence p) | presenceFrom p == Nothing = Ignorable p | presenceFrom p == Just fulljid = Ignorable p | isPresenceQuery p = PresenceQuery p - | null pushed = Ignorable p + | null pushed = PresenceMessage p | otherwise = PushNotification pushed where pushed = concat $ catMaybes $ map decodePushNotification $ -- cgit v1.2.3