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

Expire tombstones after 60 days #6430

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Jan 12, 2025

Closes #6427

@link2xt link2xt force-pushed the link2xt/expire-tombstones-60-days branch 2 times, most recently from bf33b95 to 47afba6 Compare January 16, 2025 10:33
@link2xt link2xt changed the title WIP: expire tombstones after 60 days Expire tombstones after 60 days Jan 16, 2025
@link2xt link2xt requested review from Hocuri and iequidoo and removed request for Hocuri January 16, 2025 10:50
src/chat.rs Outdated Show resolved Hide resolved
src/chat.rs Outdated Show resolved Hide resolved
@link2xt link2xt marked this pull request as draft January 16, 2025 12:44
@link2xt link2xt force-pushed the link2xt/expire-tombstones-60-days branch 2 times, most recently from ef165da to 8c7766b Compare January 18, 2025 22:23
@link2xt link2xt marked this pull request as ready for review January 19, 2025 05:04
@link2xt link2xt requested a review from Hocuri January 19, 2025 05:04
Copy link
Collaborator

@Hocuri Hocuri left a comment

Choose a reason for hiding this comment

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

Nice!

src/chat.rs Outdated Show resolved Hide resolved
@link2xt link2xt force-pushed the link2xt/expire-tombstones-60-days branch from a1f42b4 to 43d9358 Compare January 22, 2025 15:30
test: add failing test

fixup the test

fix: use member list timestamp

Improve the test

move member_list_timestamp() from chat id to chat

New member_list_is_stale function

apply member list from To if member list is stale

remove tombstones when updating stale member list

fixup the test

test non-stale member list with MUA

clippy

formatting fixes
@link2xt link2xt force-pushed the link2xt/expire-tombstones-60-days branch from 43d9358 to 031ec39 Compare January 22, 2025 15:33
@link2xt link2xt merged commit e55171e into main Jan 22, 2025
37 checks passed
@link2xt link2xt deleted the link2xt/expire-tombstones-60-days branch January 22, 2025 15:49
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.

Expire chats_contacts timestamps after 60 days
2 participants