Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name highlights are not case-sensitive #268

Open
hashworks opened this issue Sep 28, 2023 · 2 comments
Open

Name highlights are not case-sensitive #268

hashworks opened this issue Sep 28, 2023 · 2 comments

Comments

@hashworks
Copy link
Contributor

hashworks commented Sep 28, 2023

I have an IRC user that is named kraM. When someone writes kram (which is German for "stuff") the user is highlighted in my Matrix client (SchildiChat Desktop, an Element fork), confusing me:
image

User in Matrix:
image

Actual message:
image

Is this a client-thing or something heisenbridge does?

@toabi
Copy link

toabi commented Sep 28, 2023

I think it's heisenbridge which converts a nick to a handle. You can check the PILLS command in the network admin room for more details.

There you could either disable it or add your nick to the ignore list. Setting it to case-sensitive isn't an option there (yet).

I guess that's the code: https://github.com/hifi/heisenbridge/blob/v1.14.5/heisenbridge/private_room.py#L538-L562 and yeah there's a .lower().

@hashworks
Copy link
Contributor Author

Hm, @hifi introduced the .lower() in 8d256ce. I wonder if it's a hard requirement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants