bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

telepathy-tank - contacts

Open sanderfoobar opened this issue 1 year ago • 2 comments

The GUI that shows contacts in leste, does not have the contacts from telepathy-tank.

From the Tp connection manager (-tank), I wonder what is needed to display Matrix participants in the leste contacts GUI.

Maybe it is:

  • Tp::BaseConnectionContactListInterface currently m_contactListIface in -tank
  • Tp::BaseConnectionContactsInterface, currently contactsIface in -tank

but which properties are needed, and what signals should we handle?

e.g what is all this? (from -tank):

    m_contactListIface = Tp::BaseConnectionContactListInterface::create();
    m_contactListIface->setContactListPersists(true);
    m_contactListIface->setCanChangeContactList(true);
    m_contactListIface->setDownloadAtConnection(true);

Wizzup shared an error from -tank runtime which may or may not be related:

QObject::connect: No such signal Tp::BaseConnectionContactListInterface::Adaptee::contactsChanged(const Tp::ContactSubscriptionMap&, const Tp::UIntList&)

sanderfoobar avatar Aug 11 '24 21:08 sanderfoobar

@MerlijnWajer do you know if morse contacts show up in the contacts GUI?

Or in general, which connection manager is:

  1. made with tp-qt
  2. has a working contact roster that is distributed to the contacts GUI

might be worth to study that code

sanderfoobar avatar Aug 11 '24 21:08 sanderfoobar

I would not use tp-morse since the author himself has discouraged using it. You could look at https://github.com/maemo-leste-upstream-forks/telepathy-nonsense - which also uses telepathyqt. But from my quick testing, I also didn't see it add contacts into osso-abook, but it did interact with the address book somehow, as I saw osso-abook crash I believe, when I went online.

MerlijnWajer avatar Aug 13 '24 18:08 MerlijnWajer