Project

General

Profile

Feature #572

Make nicks with different capitalisation or appended underscores use the same colour.

Added by amiconn about 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/20/2009
Due date:
% Done:

100%

Estimated time:
OS:
Any

Description

Sometimes users use their nick with different capitalisation, or there are one or more underscores appended when there's a nick collision (multiple clients, reconnect etc). It would be nice if those nicks would use the same colour in the client.

This could be done by converting the nick to all-lowercase (or all-uppercase) and stripping all trailing underscores before calculating the hash.

There are more possible nick variations than those two (e.g. prepended numbers in brackets), but I think the mangling has to stop somewhere...

Associated revisions

Revision ebe83288 (diff)
Added by Marcus Eggenberger almost 15 years ago

Fixes #572 - changes to nick coloring
Nick color is now determined case insensitive, based only on the nick,
and ignored trailing underscores.

History

#1 Updated by Lingerance about 15 years ago

amiconn wrote:

This could be done by converting the nick to all-lowercase (or all-uppercase) and stripping all trailing underscores before calculating the hash.

There are more possible nick variations than those two (e.g. prepended numbers in brackets), but I think the mangling has to stop somewhere...

Personally I think a saner approach would be to just hash the usermask without the nick. That hardly ever changes.

#2 Updated by EgS almost 15 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF