[Bug 35633] New: ContactFactory does not introspect Contacts correctly for all protocols
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 24 19:37:54 CET 2011
https://bugs.freedesktop.org/show_bug.cgi?id=35633
Summary: ContactFactory does not introspect Contacts correctly
for all protocols
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-qt4
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: alvaro.soliverez at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
Using ContactFactory, if we don't pass a features param, the status of contacts
is not shown correctly for a Yahoo account, but it works ok for jabber
accounts.
If we do pass a parameter, the status is correct for Yahoo accounts, but jabber
contacts status is not.
I'm attaching the dbus-monitor log, and app log, which also contains the tp-qt4
debug.
The logs were generated passing the needed features.
This is the code that creates the ContactFactory:
Tpy::ChannelFactoryPtr channelFactory =
Tpy::ChannelFactory::create(QDBusConnection::sessionBus());
mAccountManager = Tp::AccountManager::create(
Tp::AccountFactory::create(QDBusConnection::sessionBus(),
mAccountFeatures),
Tp::ConnectionFactory::create(QDBusConnection::sessionBus(),
mConnectionFeatures),
channelFactory,
Tp::ContactFactory::create(mContactFeatures));
These are contact features:
mContactFeatures << Tp::Contact::FeatureAlias
<< Tp::Contact::FeatureAvatarToken
<< Tp::Contact::FeatureSimplePresence
<< Tp::Contact::FeatureAvatarData
<< Tp::Contact::FeatureCapabilities;
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list