Bug 146551 - Can't add first contact to a fresh ICQ account
Summary: Can't add first contact to a fresh ICQ account
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: ICQ and AIM Plugins (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 18:03 UTC by Hobbsee
Modified: 2007-06-09 10:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hobbsee 2007-06-08 18:03:06 UTC
Version:           0.12.5 (using KDE 3.5.7, Kubuntu (gutsy) 4:3.5.7-1ubuntu3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-6-generic

Binary package hint: kopete

Adding my ICQ account and going online worked like a charm.
But I can not add a ICQ contact with kopete 0.12.4. I 've verified it in

  * edgy with KDE 3.5.6 from kubuntu.org
  * on a fresh feisty install on a laptop and in a virtualbox installation

Neither adding the UIN directly nor via Search works.

Confirmed.
Adding first contact in a fresh ICQ account, without contacts, does not work.

(Originally reported at https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/111634 )
Comment 1 Roman Jarosz 2007-06-08 22:11:05 UTC
This should be fixed in Kopete 0.12.5 (KDE 3.5.7) if it's not please reopen.

r636111 Don't send local contact list if list is empty. Fix login with new (empty) icq account. We cannot use lastModTime in listComplete function because new icq account has lastModTime = 0 too.
Comment 2 Matt Rogers 2007-06-08 23:58:36 UTC
how does not sending the local contact list fix adding new contacts? 
Comment 3 Roman Jarosz 2007-06-09 10:34:40 UTC
Matt the second and third sentences fix it ;)

Here's an explanation:
Because new accounts have lastModTime = 0 and in Kopete we assumed that if lastModTime is 0 than we got server side list. And that's wrong for new account because it doesn't have lastModTime <> 0 and Kopete thinks that you didn't get SSI and doesn't allow you to add contact to SSI.

To be sure I tested my commit again, instead of implementing online status messages for ICQ :P