Wrong contact avatar displayed when email addresses differ only by dot-separated prefix
@kesselb is already working on this.
Since Feb 11, 2026.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
-
Create two contacts in the Contacts app:
Contact A: name@domain.com (with or without avatar)
Contact B: firstname.name@domain.com (with avatar) -
Send an email from name@domain.com.
-
Open the "Sent" folder.
-
Check which avatar is displayed for the sent email.
Expected behavior
The correct contact avatar should always be displayed based on an exact email address match.
If no avatar is assigned to the email address in the Contacts app, only the automatically generated initials avatar (e.g., first letters of first and last name) should be shown.
Actual behavior
The avatar of a different contact is displayed when the email addresses differ only by a dot-separated prefix.
Apparently, the matching is not based on an exact email address comparison.
Mail app version
5.6.11
Nextcloud version
31.0.13
Mailserver or service
Postfix 3.10.5/Dovecot 2.4.1
Operating system
Debian 13.3 (64-bit)
PHP engine version
PHP 8.3
Nextcloud memory caching
'memcache.local' => '\OC\Memcache\APCu', 'memcache.distributed' => '\OC\Memcache\Redis'
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.