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

client: unsub and remove idle users from gc #327

Merged
merged 10 commits into from
Aug 25, 2023

Conversation

miki-totefu
Copy link
Collaborator

after 21 days, an automatic handshake cmd is sent

after 60 days, if there is still no msg from remote user, he is forcibly unsubbed from posts and removed from any GCs the local client admins

miki added 10 commits August 24, 2023 14:39
Avoids having to unnecessarily load it every time the address book needs
an update.
This also adds an upgrade that fills the FirstCreated field to either
the last known time of the remote user's ratchet decryption or
encryption, or the current time.
This will help determine if the user is still active or not.
This will be helpful when these are exposed to the user.
@miki-totefu miki-totefu merged commit 3382d2c into companyzero:master Aug 25, 2023
5 checks passed
@miki-totefu miki-totefu deleted the dropidleusers branch August 25, 2023 18:16
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.

2 participants