Bug 19838

Summary: telepathy-idle can't cope when a user's nick is changed behind its back
Product: Telepathy Reporter: Jonathon Jongsma <jonathon>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: rishi.is
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jonathon Jongsma 2009-01-30 12:47:27 UTC
Say, for example that you are attempting to log into an IRC server with a nickname that is longer than the allowed nick length (the IRC spec says the max length is 9, but i've found that in practice, the limit is 15)

If you try to set your nick to, say, a12345678901234567890, the server will happily truncate that to its max limit and carry on.  So the server will operate on the assumption that your nick is a123456789012345, but telepathy-idle doesn't recognize that as our nick, so strange things happen.
Comment 1 Debarshi Ray 2011-03-19 17:47:01 UTC
(In reply to comment #0)
> telepathy-idle doesn't recognize that as our nick, so strange things happen.

Could you please elaborate a bit more on the "so strange things happen" part? :-)
Comment 2 Jonathon Jongsma 2011-03-21 09:13:09 UTC
well, I can't remember exactly what happens, but I'd guess that many things don't really work as expected.  Because the server thinks that your nickname is different than what telepathy-idle things it is.  So e.g. when you get an incoming private message, idle checks the 'target' name against what it thinks your nick is, and since they don't match, it assumes that it's not for you.  There are probably various other things that fail as well, mostly commands that involve the user's nick.  Sorry I can't be of more help.  It's been a while since I worked on this ;)
Comment 3 GitLab Migration User 2019-12-03 19:24:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-idle/issues/4.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.