summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-31 23:53:03 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-12-31 23:53:03 (GMT)
commit76f88b50f0ff2e194f0c246989072b93e87962ce (patch)
tree0757f831b366d60bb3ec11debe7826d5932875a9 /Swift
parent513db0b2e7018a61e03b19236955d4a2ffbbc79e (diff)
downloadswift-76f88b50f0ff2e194f0c246989072b93e87962ce.zip
swift-76f88b50f0ff2e194f0c246989072b93e87962ce.tar.bz2
Stupid
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/Chat/ChatController.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}