RocHack/meshchat — pull request #2 by cyisfor (2014-07-10 05:20:40+00:00)
Title: Topics, not broken usernames

Setting prefix.user to ircd->username is important because some clients (cough pidgin) only recognize you when you are addressed as nick!username@address, and will miss nick@address completely. That means when you join a chat for instance, the server will say this strange person called nick@address who is certainly not you, since you are nick!username@address, joined a room and it felt compelled to tell you for some reason. Then your client will say "Hey I guess you failed to join the room after all, since the server never said you joined."

Of course, to the untrained eye this looks like clicking on the channel name and having jack squat nothing happen. But I'm fairly sure I heard the computer goblins doing the above reasoning when I leaned really close to my box.

There's no way for a server to negotiate with a client just what ID it will recognize as itself, so adding the username in the prefix is important, even though @address is going to be unique no matter what.

...also topics.