lovetoxright now Gajim deletes both from pep when we go offline
lovetoxhow much sense does this make in a multi device setup?
lovetoxi see the idea that it does not make much sense to have this info published if im not online
lovetoxi could check if another client is online, and only delete if im the last
ZashIf anything I think these should have some kind of timeout, after which they're reset.
lovetoxyeah my timeout was "i go offline"
lovetoxis there not a timeout feature in pubsub
Zashpoezio behaves the same way I think, clearing PEP on exit
ZashHehe, are you sure? Maybe if you refresh the page a few times it'll appear.
pep.https://lab.louiz.org/poezio/poezio/-/issues/3467 poezio also fails to clear these nodes when not connected. (weird!)
label='Number of seconds after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'/>
jonas’given that you can’t even always control when you’re going offline, the right thing™ would be to fix this on the recipient or server side, wouldn’t it?
lovetoxprobably no server implements it
pep.And some are gonna rant about 'max' again anyway :p
lovetoxbut not my problem i guess
lovetoxi publish this with 24 hour expire
ZashWait was that sneaked in with the max_items change?
pep.Zash, I doubt it
jonas’can this be used as a publish-options thing?
jonas’and it’s not clear to me if the timer is reset on every config change/item publish
ZashPublish options would be cool indeed
lovetoxjonas everything in the config form can be used as publish options
pep.jonas’, yeah that'd be good to know
pep.And not "implementation defined"
lovetoxbut server tend to only support some config options as publish options
Zashactivity = in a meeting, expire = 1h etc
jonas’lovetox, but then it affects the entire node, I suppose
pep.lovetox, so you're gonna keep a timer and republish every 24h?
lovetoxyeah thats good, as this node has only one item
lovetoxpep., why would i republish
ZashFor these OG extended presence things that's fine
lovetoxi tell the user, this activity holds for 24 hours
lovetoxafterwards you have to set something new yourself
ZashI think I've seen this kind of thing in other chat things.
lovetoxyes whatsapp does this with status messages
ZashAt least setting "busy" that expires after a while
lovetoxonly valid for 24 hours
ZashSomeone™ still has to write the XEP about moving the rest of <presence> stuff into PEP
lovetoxok ejabberd supports this config option not at all
lovetoxand prosody also not
lovetoxof course good things can not be happen
Zashfile feature request
label='Whether to purge all items when the relevant publisher goes offline'/>
lovetoxthis is also intersting
ZashThat is easier to implement too
lovetoxyeah but not that nice ..
lovetoxthe delay thingy is definitly nicer
ZashIf it's bound to the session it'd be weird if stuff gets reset because you got temporarily disconnected
jonas’stream management saves you
lovetoxdo i miss something or does pubsub not hold the publication date somewhere
lovetoxcan i get the time something was published?