Kaydet (Commit) a5a66cb1 authored tarafından Will Thompson's avatar Will Thompson Kaydeden (comit) Matúš Kukan

collab: print some info on which contact we've picked

üst aa8d62ed
......@@ -83,12 +83,15 @@ bool ScCollaboration::initAccountContact()
{
ContactList* pContactList = mpManager->getContactList();
AccountContactPairV aVec( pContactList->getContacts());
fprintf( stderr, "%u contacts\n", (int) aVec.size() );
if (aVec.empty())
return false;
/* TODO: select a pair, for now just take the first */
mpAccount = aVec[0].first;
mpContact = aVec[0].second;
fprintf( stderr, "picked %s\n", tp_contact_get_identifier( mpContact ) );
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment