Contact search isn't working correctly

Why does contact search work by email login but not by name? This is completely out of place.

can you please retry?

the contact search does search by contact name.

however, indeed, the contact search additionally and historically searches by address. this is questionable for chatmail where the addresses are meaningless. and also for non-chatmail probably not needed most of the time.

as we want to tune down chatmail vs non-chatmail differences, idea is to not do incremental search for addresses, but only return exact matches - so if contact Bob has address a2kfh2g3e@smth internally, entering a will not return any match. but if you enter or paste a2kfh2g3e@smth, you will get Bob.

1 Like

You can try again, but

the search only works with the Latin alphabet, and if you type Cyrillic characters, for example, the search doesn’t work correctly.

2 Likes

Unfortunately, the search is case-sensitive, so if you type in a lowercase letter, the contact with a capital letter won’t be found.

2 Likes

thanks a lot for double checking and reporting!

i filed an issue at `get_chatlist` and `get_contacts` are not case insensitive outside ASCII · Issue #7477 · chatmail/core · GitHub

3 Likes

we have a fix now :tada:

the contact search gets case-insensitive also for non-latin alphabets, it is not yet released but it will come.

while on that, we fixed the same issue for chat names, btw (for message texts, the search is case-insensitive for non-latin alphabets already)

thanks a gain for reporting!

1 Like