right now Gajim deletes both from pep when we go offline
machas left
lovetox
how much sense does this make in a multi device setup?
Zash
good question
lovetox
i see the idea that it does not make much sense to have this info published if im not online
lovetox
i could check if another client is online, and only delete if im the last
Zash
If anything I think these should have some kind of timeout, after which they're reset.
lovetox
yeah my timeout was "i go offline"
lovetox
is there not a timeout feature in pubsub
Zash
poezio behaves the same way I think, clearing PEP on exit
Zash
Hehe, are you sure? Maybe if you refresh the page a few times it'll appear.
jonas’
hah
pep.
https://lab.louiz.org/poezio/poezio/-/issues/3467 poezio also fails to clear these nodes when not connected. (weird!)
lovetox
<field var='pubsub#item_expire'
type='text-single'
label='Number of seconds after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'/>
<field var='pubsub#itemreply'
Zash
Hahaha!
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?
jonas’
lol
lovetox
probably no server implements it
pep.
And some are gonna rant about 'max' again anyway :p
Zash
Hrrr
lovetox
but not my problem i guess
lovetox
i publish this with 24 hour expire
jonas’
:)
Zash
Wait 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
Zash
Publish options would be cool indeed
lovetox
jonas 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"
lovetox
but server tend to only support some config options as publish options
Zash
activity = 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?
Wojtekhas joined
lovetox
yeah thats good, as this node has only one item
lovetox
pep., why would i republish
Zash
For these OG extended presence things that's fine
lovetox
i tell the user, this activity holds for 24 hours
lovetox
afterwards you have to set something new yourself
pep.
ok
Zash
I think I've seen this kind of thing in other chat things.
lovetox
yes whatsapp does this with status messages
Zash
At least setting "busy" that expires after a while
lovetox
only valid for 24 hours
Zash
Someone™ still has to write the XEP about moving the rest of <presence> stuff into PEP
Kev
Yeah, sorry.
lovetox
ok ejabberd supports this config option not at all
lovetox
and prosody also not
lovetox
of course good things can not be happen
Zash
file feature request
lovetox
<field var='pubsub#purge_offline'
type='boolean'
label='Whether to purge all items when the relevant publisher goes offline'/>
lovetox
this is also intersting
Zash
Ha!
Zash
That is easier to implement too
lovetox
yeah but not that nice ..
lovetox
the delay thingy is definitly nicer
Zash
If it's bound to the session it'd be weird if stuff gets reset because you got temporarily disconnected
jonas’
stream management saves you
lovetox
do i miss something or does pubsub not hold the publication date somewhere
lovetox
can i get the time something was published?
jonas’
not out of the box
adiaholic_has left
edhelas
https://nl.movim.eu/?node/pubsub.movim.eu/Dino :)
adiaholic_has joined
test2has joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
test2has left
test2has joined
debaclehas left
machas joined
test2has left
test2has joined
Lancehas joined
machas left
adiaholic_has left
adiaholic_has joined
test2has left
test2has joined
test2has left
test2has joined
goffihas left
goffihas joined
adiaholic_has left
adiaholic_has joined
xeckshas left
larmahas left
larmahas joined
machas joined
machas left
lovetoxhas left
adiaholic_has left
Beherithas left
Beherithas joined
Vaulorhas left
Vaulorhas joined
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
pulkomandyhas left
pulkomandyhas joined
kikuchiyohas joined
kikuchiyohas left
pulkomandyhas left
pulkomandyhas joined
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
test2has left
kikuchiyohas joined
kikuchiyohas left
test2has joined
kikuchiyohas joined
kikuchiyohas left
Beherithas left
Beherithas joined
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
pulkomandyhas left
Beherithas left
pulkomandyhas joined
Beherithas joined
Beherithas left
Beherithas joined
lovetoxhas joined
Beherithas left
Beherithas joined
Syndacehas left
daidojihas joined
debaclehas joined
waqashas joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
Guushas left
Guushas joined
test2has left
test2has joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
Yagizаhas left
machas joined
Beherithas left
lovetoxhas left
test2has left
machas left
lovetoxhas joined
machas joined
machas left
Lancehas left
paulhas left
paulhas joined
test2has joined
machas joined
machas left
Beherithas joined
machas joined
test2has left
Lancehas joined
Beherithas left
Beherithas joined
xeckshas joined
Beherithas left
machas left
machas joined
paulhas left
paulhas joined
Beherithas joined
Beherithas left
Beherithas joined
moparisthebesthas left
Link Mauvehas left
moparisthebesthas joined
machas left
Syndacehas joined
test2has joined
Link Mauvehas joined
Beherithas left
lovetox
what do you think about multiline status messages
lovetox
should a client allow them or not?
lovetox
currently Gajim does a to_one_line() on user input
lovetox
but im not sure i should, clients which can only show oneline can format the text themself when displaying