Description of feature:
Let client set a time in seconds when a pubsub item should expire
see XEP-0060
<field var='pubsub#item_expire' type='text-single' label='Time after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'>
Motivation:
This is nice for user data like User Activity or User Mood, 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.
Zash
on
Would be nice to have but no immediate plans to do this before 0.12
Description of feature: Let client set a time in seconds when a pubsub item should expire see XEP-0060 <field var='pubsub#item_expire' type='text-single' label='Time after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'> Motivation: This is nice for user data like User Activity or User Mood, 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.
Would be nice to have but no immediate plans to do this before 0.12
Changes