diff --git a/TelepathyQt/contact.cpp b/TelepathyQt/contact.cpp index 8f28061..b060689 100644 --- a/TelepathyQt/contact.cpp +++ b/TelepathyQt/contact.cpp @@ -1189,6 +1189,11 @@ void Contact::receiveSimplePresence(const SimplePresence &presence) mPriv->presence.setStatus(presence); emit presenceChanged(mPriv->presence); } + + if (mPriv->presence.type() == ConnectionPresenceTypeOffline) { + mPriv->clientTypes = QStringList(); + emit clientTypesChanged(mPriv->clientTypes); + } } void Contact::receiveCapabilities(const RequestableChannelClassList &caps)