This commit is contained in:
Joey Hess 2012-11-03 14:32:59 -04:00
parent 9a8d0be866
commit cbbfd4d00b

View file

@ -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 $