Bug 134962 - Usernames in remote client config are used instead of official usernames (Yahoo)
Summary: Usernames in remote client config are used instead of official usernames (Yahoo)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Applications
Component: Yahoo Plugin (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 00:23 UTC by Joshua J. Kugler
Modified: 2018-09-15 23:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua J. Kugler 2006-10-02 00:23:08 UTC
Version:           0.12.1 (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages
OS:                Linux

It seems Kopete does not like it if the remote chat client's config has the username entered in a format differently than the "official" user name.

Example: Official user name is "username"  But, it is in the remote chat client's configuration as Username.  Remote user sends me a message, and it pops up in a window for "username."  I reply, and their reply then comes back in a new window for "Username," which shows them offline.

This also happens the the remote client's config has spaces after the name.

It would seem that Kopete should "dishonor" the username from the chat client, and only go with the "official" user name.

Manifests on Yahoo.  Haven't seen it happen on any other.

I just switched to Kopete from Gaim, and it turns out these were "long standing issues" with the remote configs, that needed to get fixed anyway, but for some reason, they never showed up when I got messages via Gaim.
Comment 1 Joshua J. Kugler 2006-10-02 01:13:57 UTC
Referencing http://lxr.kde.org/source/KDE/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp#994

It looks like the function YahooAccount::slotGotIm needs to do a little bit of cleanup on the "who" parameter before it processes it.  So, something like normalizing it to the format in the contact list plus stripping any leading or trailing spaces.
Comment 2 Andre Duffeck 2007-04-15 11:26:46 UTC
I can't reproduce. Can you tell me how exactly i can change the username in what you call the "chat client's configuration" in order to test it? Thanks
Comment 3 Joshua J. Kugler 2007-12-05 20:26:58 UTC
Sigh, I seem to have dropped the ball on this.

In the old version of Gaim (have not tried recently, or with Pigin) you could accidentally put spaces in front of the user name when you created an account.  It would log in OK, but this '  accountame' would be sent to Kopete as the username, and it would come up in different chat window than 'accountname'.
Comment 4 Steve Hay 2008-07-07 00:46:16 UTC
It would help us for you to please provide us a step-by-step testcase.
Comment 5 Joshua J. Kugler 2008-07-07 08:08:19 UTC
OK, I'll try, but I'm not sure how much more detail I can add.

You might need to pull an old version of Gaim for this bug to "work" if they have fixed game in the mean time.

1. Set up an account in Gaim.  In the user name field, but a space in front of the user name.  It should still log in correctly.
2. From an account using Kopete, sent an IM to the correct username entered in step one.
3. From Gaim, send a reply to the IM received in step two.

This should pop up a second window with the username displayed as " username" and an indication that this user is offline.  Also, look at the logs, and the log for this user will have a space at the beginning of its name.
Comment 6 Andrew Crouthamel 2018-09-15 23:29:35 UTC
Hello from the KDE Bugsquad!

Unfortunately, Yahoo has discontinued the Yahoo Messenger service, and the code has been removed from Kopete.

Thus, I am closing this bug as "UNMAINTAINED" since it will no longer be fixable, or able to operate due to Yahoo.