From cbbfd4d00b0e336efae9a3d340ecb64e00667b79 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 3 Nov 2012 14:32:59 -0400 Subject: [PATCH] bugfix --- Assistant/Threads/XMPPClient.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/Threads/XMPPClient.hs b/Assistant/Threads/XMPPClient.hs index 9ecceabe5d..113bc06abd 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 $