------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=122269
------- Additional Comments From ogoffart kde org 2006-03-10 14:57 -------
SVN commit 517255 by ogoffart:
Add debug output that may help me to fix the bug 122269
Please update, and try to reproduce the bug again, and paste me the debug
output.
CCBUG: 122269
M +2 -0 jabberaccount.cpp
M +3 -1 jabbercontact.cpp
M +1 -1 jabbercontactpool.cpp
M +2 -0 jabbertransport.cpp
--- branches/kopete/0.12/kopete/protocols/jabber/jabberaccount.cpp
#517254:517255
@ -1321,6 +1321,8 @
Kopete::MetaContact *metaContact=c->metaContact();
if(metaContact->isTemporary())
return;
+ kdDebug (JABBER_DEBUG_GLOBAL) << k_funcinfo << c->contactId()
<<
+ " is on the contactlist while it shouldn't. we
are removing it. - " << c << endl;
delete c;
if(metaContact->contacts().isEmpty())
Kopete::ContactList::self()->removeMetaContact(
metaContact );
--- branches/kopete/0.12/kopete/protocols/jabber/jabbercontact.cpp
#517254:517255
@ -1184,7 +1184,7 @
if ( dontSync () || !account()->isConnected () ||
metaContact()->isTemporary () || metaContact() ==
Kopete::ContactList::self()->myself() )
return;
-// kdDebug ( JABBER_DEBUG_GLOBAL ) << k_funcinfo << contactId () << " - "
<<kdBacktrace() << endl;
+ kdDebug ( JABBER_DEBUG_GLOBAL ) << k_funcinfo << contactId () /*<< " -
" <<kdBacktrace()*/ << endl;
if(!m_syncTimer);
{
@ -1540,6 +1540,8 @
JabberAccount *parentAccount=account();
Kopete::OnlineStatus status=onlineStatus();
+ kdDebug() << k_funcinfo << jid << " is not a contact but a
gateway - " << this << endl;
+
delete this; //we are not a contact i said !
if(mc->contacts().count() == 0)
--- branches/kopete/0.12/kopete/protocols/jabber/jabbercontactpool.cpp
#517254:517255
@ -68,7 +68,7 @
JabberContactPoolItem *mContactItem = findPoolItem ( contact );
if ( mContactItem)
{
- kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Updating
existing contact " << contact.jid().full() << endl;
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Updating
existing contact " << contact.jid().full() << " - " <<
mContactItem->contact() << endl;
// It exists, update it.
mContactItem->contact()->updateContact ( contact );
--- branches/kopete/0.12/kopete/protocols/jabber/jabbertransport.cpp
#517254:517255
@ -291,6 +291,7 @
* - a new contact will born, with the same characteristics,
but owned by the transport
* - Olivier 2006-01-17 -
*/
+ kdDebug() << k_funcinfo << endl;
QDict<Kopete::Contact> cts=account()->contacts();
QDictIterator<Kopete::Contact> it( cts );
for( ; it.current(); ++it )
@ -301,6 +302,7 @
XMPP::RosterItem item=contact->rosterItem();
Kopete::MetaContact *mc=contact->metaContact();
Kopete::OnlineStatus status = contact->onlineStatus();
+ kdDebug() << k_funcinfo << item.jid().full() << " will
be soon eat - " << contact << endl;
delete contact;
Kopete::Contact
*c2=account()->contactPool()->addContact( item , mc , false ); //not sure this
is false;
if(c2)
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel