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

Pubsub: Implement #expire_item #3357

Open
lovetox opened this issue Aug 13, 2020 · 0 comments
Open

Pubsub: Implement #expire_item #3357

lovetox opened this issue Aug 13, 2020 · 0 comments

Comments

@lovetox
Copy link

lovetox commented Aug 13, 2020

Feature:

Let client set a time in seconds when a pubsub item should expire

see XEP-0060

Motivation:

This is nice for user data like User Activity / User Mood / User Tune, or even in the future a Status Message XEP via PEP.

If the user sets his Activity or Mood, the client wants to expire it after some time. Right now we remove the items when going offline. But thats not optimal as there could be other clients online.

Its considerable work to check if an item in a multi client setup with various connection disruptions is still valid or current, a simple "This expires in 24 hours" would be perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants