[Telepathy-commits] [telepathy-qt4/master] Connection: Added status to presence Offline and Available.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Jan 27 04:24:29 PST 2009
---
TelepathyQt4/Client/connection.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TelepathyQt4/Client/connection.cpp b/TelepathyQt4/Client/connection.cpp
index 06317c4..ac620e6 100644
--- a/TelepathyQt4/Client/connection.cpp
+++ b/TelepathyQt4/Client/connection.cpp
@@ -1344,7 +1344,7 @@ PendingOperation *Connection::becomeReady(Features requestedFeatures)
// we still don't have our own presence but as the user
// requested for FeatureSelfPresence, change our presence to
// offline
- SimplePresence presence = { Telepathy::ConnectionPresenceTypeOffline, };
+ SimplePresence presence = { Telepathy::ConnectionPresenceTypeOffline, QLatin1String("offline"), };
mPriv->changeSelfPresence(presence);
}
@@ -1354,7 +1354,7 @@ PendingOperation *Connection::becomeReady(Features requestedFeatures)
if (mPriv->readiness == Private::ReadinessFull) {
// we don't support simple presence but we are online, so
// set selfPresence to available as we are connected
- SimplePresence presence = { Telepathy::ConnectionPresenceTypeAvailable, };
+ SimplePresence presence = { Telepathy::ConnectionPresenceTypeAvailable, QLatin1String("available"), };
mPriv->changeSelfPresence(presence);
// we should have all interfaces now, so if simple presence is not
--
1.5.6.5
More information about the Telepathy-commits
mailing list