+
Skip to content

Conversation

iequidoo
Copy link
Collaborator

Both commits here may fix #7002. If that doesn't happen, we'll reopen it.

…sent

This prepares for sending self-status only together with self-avatar in encrypted messages. The idea
is that self-status normally doesn't change frequently, so it's not a problem to re-send the whole
profile. Self-status is rather a biography, it even goes to "NOTE:" in vCards, so it's not a contact
status at a particular moment like "online" or "busy", and to see it one should go to the contact
profile.

Don't check for "Chat-Version" header though. So if a non- Delta Chat key-contact removes footer,
its "status" remains, but this shouldn't be a problem.

For unencrypted messages self-status will still be always attached except MDNs, reactions and
SecureJoin messages, so that it's visible as the message footer in other MUAs.
The normal way of synchronizing self-avatar and -status nowadays is sync messages.
@iequidoo iequidoo force-pushed the iequidoo/self-status branch from 137ede8 to aafa034 Compare October 10, 2025 04:07
@iequidoo iequidoo requested a review from Simon-Laux October 10, 2025 04:09
Config::Selfstatus => {
// Currently we send the self-status in every appropriate message, but in the future
// we want to send it periodically together with the self-avatar. This ensures the
// correct behavior after a possible upgrade.
Copy link
Contributor

@Simon-Laux Simon-Laux Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgrade of what? delta chat or the self status?

Comment on lines +748 to +749
// Currently we send the self-status in every appropriate message, but in the future
// we want to send it periodically together with the self-avatar. This ensures the
Copy link
Contributor

@Simon-Laux Simon-Laux Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"in the future", what does this mean? when this pr is merged or somewhere else?

I'm still confused 😅

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.

It seems to happen easily that the bio is deleted again or the pfp is reverted due to sync issues

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载