Skip to content

Conversation

@iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Sep 19, 2025

We don't display avatars for address-contacts, so sending avatars w/o encryption is not useful and
causes e.g. Outlook to reject a message with a big header, see
https://support.delta.chat/t/invalid-mime-content-single-text-value-size-32822-exceeded-allowed-maximum-32768-for-the-chat-user-avatar-header/4067.

Close #7136

@iequidoo iequidoo force-pushed the iequidoo/self-status branch from 3e0a181 to 13ee0d1 Compare September 19, 2025 07:01
@iequidoo iequidoo force-pushed the iequidoo/self-status branch from 13ee0d1 to 137ede8 Compare October 8, 2025 00:44
@iequidoo iequidoo force-pushed the iequidoo/no-unencrypted-avatars branch from 3f3574e to e7e5658 Compare October 8, 2025 00:45
@iequidoo iequidoo force-pushed the iequidoo/self-status branch 2 times, most recently from aafa034 to 73af206 Compare October 13, 2025 05:49
@iequidoo iequidoo force-pushed the iequidoo/self-status branch from 73af206 to 221526d Compare October 25, 2025 07:21
@iequidoo iequidoo force-pushed the iequidoo/no-unencrypted-avatars branch from e7e5658 to 804fc84 Compare November 27, 2025 04:55
@iequidoo iequidoo changed the base branch from iequidoo/self-status to main November 27, 2025 04:55
@iequidoo iequidoo force-pushed the iequidoo/no-unencrypted-avatars branch from 804fc84 to 7673c42 Compare November 27, 2025 06:38
We don't display avatars for address-contacts, so sending avatars w/o encryption is not useful and
causes e.g. Outlook to reject a message with a big header, see
https://support.delta.chat/t/invalid-mime-content-single-text-value-size-32822-exceeded-allowed-maximum-32768-for-the-chat-user-avatar-header/4067.
@iequidoo iequidoo force-pushed the iequidoo/no-unencrypted-avatars branch 2 times, most recently from f912092 to b4d99dc Compare November 27, 2025 07:13
`chat::set_chat_profile_image()` already checks that the group has grpid, still it makes sense to
check that a message is encrypted when sending, in case if the chat has a profile image in the db
for some reason.
@iequidoo iequidoo force-pushed the iequidoo/no-unencrypted-avatars branch from b4d99dc to bac45da Compare November 27, 2025 15:39
@iequidoo iequidoo requested a review from link2xt November 27, 2025 19:06
@iequidoo iequidoo merged commit 145a581 into main Nov 28, 2025
29 checks passed
@iequidoo iequidoo deleted the iequidoo/no-unencrypted-avatars branch November 28, 2025 01:02
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

Successfully merging this pull request may close these issues.

Do not send avatar in unencrypted messages

3 participants