Export to GitHub

pyaimt - issue #2

Invitor's name doesn't show up in an AIM groupchat userlist


Posted on Dec 10, 2007 by Grumpy Rabbit

Posted by Z_God at 2005-04-18 19:32:54

When joining a room that you've been invited to, the invitator's name doesn't show up in the username list. The other names seem to show up without problems though.

Posted by Z_God at 2005-04-27 14:44:45

Also people that were already in the room before joining yourself won't be listed.

Posted by jadestorm at 2005-04-27 15:24:49

Hrm Dooh!!!! That's actually very helpful in tracking down exactly where the problem is though.

Posted by Z_God at 2005-06-13 18:17:36

This doesn't occur when manually joining a chat though.

Posted by jadestorm at 2005-06-13 18:47:02

Oh really? That would explain why I hadn't seen this when testing. So I need someone to invite me. . . ok I'll work that out. Thanks!

Posted by Z_God at 2005-09-08 20:18:30

It seems that this has been fixed. I'm not running the latest SVN, but I did update at some point. I'm now in a groupchat and I can see all the names properly :)

I see both my AIM screenname and my Jabber nickname in the list though. It would be nice if the Jabber nickname could be removed at some point. I also see the Jabber nick instead of the screenname in the chat window btw. Could this be a Psi thing?

Posted by jadestorm at 2005-09-08 22:06:19

Glad to hear it's behaving. As for the jabber nickname thing . . . that's a problem that I'm not sure how to get around. =( See, when you specify your nickname... blah@chatrooms.aim.jabber.foo/nickname... that's what jabber groupchat wants to use. AIM, on the other hand, will use your AIM screen name and only your AIM screen name.. thanks.. end of story. =) (rude) So... well actually ya know what, how does this sound. What if I just hide your actual screen name in the list? In other words, it shows your jabber id with whatever resource you specified, but not your screenname iteration. In other words, if you connect as chatroomname@chatrooms.aim.crap/ninja, it will appear to you that you are in the room as ninja, whereas everyone else will see you as whatever your screen name is. This would at least prevent you from seeing effectively two iterations of yourself. Does that make any sense? =/ I'm not aware of a way to respond to a jabber client and say "hey punk, you are actually /TheJadeStorm (my screenname), not /ninja.. get over yourself!" and have the jabber client care. ;D As far as I know, these are my two options:

  1. hide your screen name from the list, only show your jabber id specified nick
  2. tell you -NO- if you try to log in with something other than your screen name

I think #1 is preferrable. I feel it's much nicer to go with the flow than to yell. ;D

Posted by Z_God at 2005-09-10 23:57:32

Yes, #1 seems to be preferrable. Also since the things you type yourself are put behind your nick instead of your screenname. I'm wondering though, if I would join a room with my nick being the same as my screenname, wouldn't it currently be possible for a conflict to occur, since the name would be there twice?

There might be a nicer solution for this though: Through the normal groupchat invitation system it isn't possible to specify a nickname to use. This might be possible when sending a URI though. I would imagine something like this might work: xmpp:pytransports@conference.jabber.vorpalcloud.org/Z_God?join

The drawback of fully switching to this, would be that there are many clients that do not support URIs. This also wouldn't cover the case of manually joining a room, so the first solution needs to be implemented in any case. I would say the URI solution would be something to keep in mind for the future, if it is even possible at all.

Posted by jadestorm at 2005-09-11 01:40:18

Well that's the thing, if you actually connect with -your- nickname, you are fine. =) You only show up once and it's with your proper name. Basically all that's being sent back is "X nickname is online"... Psi goes ahead and shows the nickname you chose in the chatroom, before the actual chatroom even knows. ... I'm not sure if that's making any sense. =)

Posted by Z_God at 2005-09-11 11:22:06

Well, if there are any clients that do not do this (display your own name in any case), you should not hide the screenname, since otherwise it might happen that you are not displayed at all in the list. Psi users (including myself) will have to live with seeing themselves two times, untill Psi fixes the problem.

Posted by jadestorm at 2005-09-11 12:57:06

I don't believe it's a Psi problem though, it's a problem with the protocol, so to speak. Not really, but here's what I mean.. when you join a Jabber chatroom, you specify who you want to show up as. There's nothing in the protocol that allows the chatroom to say "no, actually your nickname is going to be X". The most I can do is say "you need to choose a nickname that matches your screenname, bugger off", which would probably annoy the end user. Psi puts up your chosen nickname, wisely IMO, because that's what it -should- be on the other end.. according to the groupchat protocol. It's just that AIM doesn't work that way or abide by those rules.

Looking over the MUC JEP, I see something that might be promising. http://www.jabber.org/jeps/jep-0045.html Registering with a room. Basically, it has support for ... well in this case you wouldn't register, -but- you would only be allowed to log in with your screen name as your nick name. Since it's actually mentioned there in the protocol as reasonable to tell the end user "no, you have to log in as X", maybe I should go that route? It even ties into disco to -tell- you what your nickname is. =D

I dunno, the more I look at it, the more I'm leaning towards #2. One of the problems with #1 is, lets say your screen name is "ninja" and you choose the nickname "doggie" when you join a chatroom. Then someone who actually has the screen name "doggie" joins. Now everything is confused. =) End user probably will start seeing "themself" sending messages and get confused.

Status: Accepted

Labels:
Type-Defect Priority-Medium