Feature #572
Make nicks with different capitalisation or appended underscores use the same colour.
| Status: | Resolved | Start date: | 02/20/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| 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
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 3 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 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset ebe8328821ff05692eb8f420cd0e54083d8b0927.