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

fix: Update group name on self-additions and missing messages (#6412) #6414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Jan 7, 2025

Fix #6412
If this conflicts with #6404, this may be merged later, the bug isn't good, but it exists for years it seems and nobody complained before. Btw, maybe we want to apply the same consistency algorithm to the group name.

Updating the group name on self-additions and missing messages was forgotten. The only thing is that
we don't add a system message (`MsgGrpNameChangedBy`) in these cases because we don't want to blame
anyone.
@iequidoo iequidoo marked this pull request as ready for review January 7, 2025 20:38
@link2xt
Copy link
Collaborator

link2xt commented Jan 12, 2025

This definitely needs a rebase now. Or rather a rewrite, seems all the actual logic has been changed.

And as mentioned in #6401 (comment) maybe introduce a new header for the change timestamp, then apply last-write-wins logic to the group name. For compatibility with older Delta Chat explict ChatGroupNameChanged can be applied locally with bumping the timestamp to the sender timestamp if no Chat-Group-Name-Timestamp is sent.

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.

Altered group name not applied/updated for rejoined members
2 participants