From 76f88b50f0ff2e194f0c246989072b93e87962ce Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Fri, 31 Dec 2010 23:53:03 +0000 Subject: Stupid diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp index 302d80c..90764ae 100644 --- a/Swift/Controllers/Chat/ChatController.cpp +++ b/Swift/Controllers/Chat/ChatController.cpp @@ -169,7 +169,7 @@ String ChatController::getStatusChangeString(boost::shared_ptr<Presence> presenc void ChatController::handlePresenceChange(boost::shared_ptr<Presence> newPresence) { if ((!toJID_.equals(newPresence->getFrom(), toJID_.isBare() ? JID::WithoutResource : JID::WithResource)) || - (newPresence->getType() != Presence::Unavailable && newPresence->getType() != Presence::Error)) { + (newPresence->getType() != Presence::Available && newPresence->getType() != Presence::Unavailable && newPresence->getType() != Presence::Error)) { return; } -- cgit v0.10.2-6-g49f6