aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Threads
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-03 14:32:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-03 14:32:59 -0400
commit2798e659c701a3c6122930ece994411b3ec8b266 (patch)
tree42c8a6b3eb3451b4bac56c2cba8bacc3b63a145f /Assistant/Threads
parent414fb6e1dc03201cb237041be97670c12be90f9f (diff)
bugfix
Diffstat (limited to 'Assistant/Threads')
-rw-r--r--Assistant/Threads/XMPPClient.hs2
1 files changed, 1 insertions, 1 deletions
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 $