-
alom
Is there a client that supports "automatic message deletion" that can be set on individual chats and not only a global setting? Thanks
-
lissine
You're looking for https://xmpp.org/extensions/xep-0466.html and it seems no client implements it
-
Menel
I guess it was more of a question like, conversations can be set up to delete all messages after x. And if there is a client that can do the same per chat. No need for a xep for that. Just local...
-
gooya
Afaik there is no client that implemented message deletion on both devices/servers for older messages.
-
MSavoritias fae.ve
and no client implements ephemeral messages yet sadly
-
alom
I mean only client, but that one does not have one setting (f.eks, never, one day or one week) for all chats. But one chat can be never, another one day, another one week for example
-
gooya
This would only make some-what sense if you've also disabled archiving of messages. If not your client will at some point fetch those deleted messages from the server. But yeah you're right there is no option to set (local) message deletion on a per chat basis.✎ -
MattJ
> This would only make some-what sense if you've also disabled archiving of messages Or your server's retention time is less than your client's retention time
-
gooya
This would only make some-what sense if you've also disabled archiving of messages. If not your client will at some point fetch those (locally) deleted messages from the server. But yeah you're right there is no option to set (local) message deletion on a per chat basis. ✏
-
alom
Ok👍
-
MattJ
E.g. Snikket servers default to 7 days, so if you want to clear after 7+ days locally, the message is gone from everywhere after 7 days
-
moparisthebest
It also makes sense if you have a phone that gets slower and slower to the point of becoming unusable if you don't have messages set to delete after one week 🥲
-
gooya
moparisthebest, Does this happen to you?
-
alom
> E.g. Snikket servers default to 7 days, so if you want to clear after 7+ days locally, the message is gone from everywhere after 7 days Ok I see😊 ↺
-
gooya
I can't imagine it slowing down that much even with a huge db of messages
-
moparisthebest
gooya: yup!
-
MattJ
The problem with ephemeral messages is an open ecosystem is that if you don't implement it everywhere, it doesn't do what it advertises
-
gooya
This was also the problem for message moderation and a ton of other potential great features.
-
alom
MattJ: yeah I see that argument. Different server setups would be a problem. But would it not be as easy as to make everything in the client? So if set to delete after 7 days, there would be no fetching of new messages of that chat after 7 days either?
-
MattJ
Yes, clients could do that
-
alom
Ok, and then I dont see the problem making this work for individual chats as well. Cant the fetching also be on an induvidual chat basis making what I ask for possible?
-
gooya
Another unrelated question I've been thinking about, Would something like message pinning in 1:1 and MUC's need a XEP, and if so only client client-side or also server-side?✎ -
gooya
Another unrelated question I've been thinking about, Would something like message pinning in 1:1 and MUC's need a XEP, and if so only client client-side or also server-side? (as in pinning a message for everyone in the conversation whether that is a muc or 1:1 chat) ✏
-
alom
MSavoritias fae.ve: conversations IM/Cheogram implements this
-
singpolyma
Do you want to pin many messages or just one? Because for one we have dhad arlaedy some places call it "topic"
-
gooya
singpolyma, More than one but not many
-
gooya
Kind of how telegram handles pinning and displaying of pinned messages. Something like that would be pretty neat
-
MSavoritias fae.ve
> MSavoritias fae.ve: conversations IM/Cheogram implements this ephemeral messages you mean? it doesnt afaik
-
MSavoritias fae.ve
> Do you want to pin many messages or just one? Because for one we have dhad arlaedy some places call it "topic" it doesnt work in any client like that tho. gajim and cheogram and dino for example dont show topic there. plus you dont pin messages you have to copy paste the message
-
MSavoritias fae.ve
never mind that the topic/subject is used to post the description of the room as it is now. not pinned messages
-
lovetox
Topic is not a description of the room
-
lovetox
Gajim Shows the topic on join and in the room info
-
singpolyma
Right. We have a seperate field for description
-
MSavoritias fae.ve
so topic is the subject then? either way same thing
-
MSavoritias fae.ve
no client shows it. and its even less useful
-
singpolyma
I'm not sure what you mean no client shows it? Is there any client that does not?
-
singpolyma
Id like to make Cheogram Android do more like gajim and also show it as a card on join. If I can decide when "join" is
-
moparisthebest
iirc Conversations only shows one, Dino only shows the other, and sjn shows both
-
MSavoritias fae.ve
if you open telegram the pinned messages is *always* shown there everytime. the only way to remove it is for the person to manually interact with it. and when it changes it appears again
-
MSavoritias fae.ve
so gajim and cheogram and the rest do nothing like it at this point
-
MSavoritias fae.ve
its more of a "welcome message" to show the rules of the room
-
MSavoritias fae.ve
which is supposed to be that
-
singpolyma
moparisthebest: you're saying dino doesn't show topic?
-
moparisthebest
I just remember having to edit different fields in both to get sjn to display something sensible, I'll look later
-
singpolyma
> if you open telegram the pinned messages is *always* shown there everytime. > the only way to remove it is for the person to manually interact with it. and when it changes it appears again And if you have more than one they all show? That seems like it would take up a lot of screen space on mobile, but I could try it ↺
-
singpolyma
moparisthebest: oh yes. Sjn doesn't show topic of course it shows description
-
MSavoritias fae.ve
you cant have more than one afaik but i can see again
-
MSavoritias fae.ve
in telegram its basically a "third field"
-
MSavoritias fae.ve
where you can attach messages you want or have a poll to appear on anybody
-
singpolyma
So telegram has description, topic, *and* a single pinned message?
-
Zash
what about title? name? gotta have those too! :)
-
Zash
Didn't MIX solve this by removing subject and having arbitrary pinned messages as a separate feed?
-
MSavoritias fae.ve
it fills the usecase of: something was said or we need to do something as a room (poll, anouncement, whatever) and we want to make sure people dont miss it
-
MSavoritias fae.ve
and without having to scroll on the backlog or whatever
-
MSavoritias fae.ve
> Didn't MIX solve this by removing subject and having arbitrary pinned messages as a separate feed? ah another reason i guess to go with MIX :P
-
singpolyma
But its always just one and they do have bith topic and description seperatly?
-
moparisthebest
Having more than a single topic was a mistake 🤣
-
singpolyma
We only have one but we're discussing adding either one more or n more
-
gooya
https://share.loqi.im/upload/e6ae9a3c-e850-43eb-9409-a8dbbb793ef3/8226ff38-65d6-4f82-a170-2fa5ca31f646.png
-
gooya
Multiple message pinning in telegram ^
-
singpolyma
So the banner tells you there is more than one but it only shows one or part of one
-
singpolyma
Can you dismiss it?
-
MSavoritias fae.ve
seeing here it has title and description and pinned messages are seperate https://telegram.org/tour/groups
-
MSavoritias fae.ve
and it allows multiple messages to be pinned https://core.telegram.org/api/pin
-
singpolyma
Right so as I suspected this is what they use for topic, they don't have topic as a seperate thing
-
gooya
singpolyma, I don't think you can dismiss it, which imo should be possible. And if I remember correctly you could swipe the banner to get a preview of the next pinned message.
-
Zash
Doesn't Slack have both topic and pinned messages, or?
-
singpolyma
Zash: yes. Slack does
-
MSavoritias fae.ve
here is where they did the update https://telegram.org/blog/pinned-messages-locations-playlists/world#multiple-pinned-messages
-
MSavoritias fae.ve
> Right so as I suspected this is what they use for topic, they don't have topic as a seperate thing i mean if we can make the topic more interactable theoretically you dont have to show the rules to people again besides the first time
-
MSavoritias fae.ve
or you can have it as yet another of pinned messages
-
singpolyma
I expect the main difference between our topic and their pins is media
-
singpolyma
I mean from a protocol pov
-
Zash
Our topic is _only_ <subject> yeah.
-
MSavoritias fae.ve
agreed. they can attach pretty much anything and its interactive
-
gooya
Personally, I have a interest in having the ability to pin messages in conversations (especially MUCs) but I don't know how much of an interest there is in this feature in general in the instant messaging/xmpp ecosystem
-
MSavoritias fae.ve
i would like to implement it for sure
-
MSavoritias fae.ve
i didnt remember that you cant remove them tho
-
moparisthebest
Doesn't matter how much interest, if you are interested, do it
-
Zash
Do they need to outlive message retention?
-
singpolyma
Yes
-
singpolyma
Or no?
-
singpolyma
Hmm
-
Zash
I assume that with Slack and such, you just have long enough retention that it wouldn't matter
-
gooya
I think so
-
singpolyma
Right. Generally infinite retention is the dheng anyway✎ -
moparisthebest
I don't think they do in slack
-
Zash
For private (read: OMEMO) chats it's ... werid
-
singpolyma
Right. Generally infinite retention is the thing g anyway ✏
-
MSavoritias fae.ve
i dont think for private chats pinned messages make much sense anyway
-
singpolyma
If you want jump to context then you need the id anyway
-
MSavoritias fae.ve
telegram has the nice thing that depending on the the group it has different capabilities
-
singpolyma
But yeah if you have expiring history who knows
-
moparisthebest
Something about perfect being the enemy of good
-
gooya
MSavoritias fae.ve, What about private groups that have omemo enabled
-
Zash
Maybe that's jumping ahead to protocol design (but when in xsf@ ...) but it influences whether you'd need some separate channel/storage or if a list of stanza-ids somewhere is fine
-
singpolyma
Protocol design is all that's interesting here yeah
-
MSavoritias fae.ve
> MSavoritias fae.ve, What about private groups that have omemo enabled idk. i dont plan to implement OMEMO either way. but probably it needs to be added to a "container" so that it cant be deleted and can be referenced
-
Zash
A list of stanza-ids should work for OMEMO too, as you need to have client-side storage anyway for the decrypted messages.
-
singpolyma
Yes
-
Zash
Can you even re-send an old message?
-
singpolyma
Time to implement muc-pep
-
MSavoritias fae.ve
> Can you even re-send an old message? you cant?
-
singpolyma
Server could be aware of pinned messages and not remove from mam
-
gooya
So considering all the factors mentioned above, does it make sense to have a XEP for pinned messages?
-
MSavoritias fae.ve
i mean if a person wants to scroll or is clicing on a reply or something shouldnt they request the messages again
-
singpolyma
As a special case in their expiry
-
Zash
singpolyma, complicated!
-
MSavoritias fae.ve
maybe as a security consideration too
-
MSavoritias fae.ve
because the message can contain a lot of things
-
singpolyma
gooya: need someone to prototype muc pepkfirst✎ -
singpolyma
gooya: need someone to prototype muc pep first ✏
-
MSavoritias fae.ve
what do we need muc pep for?
-
Zash
singpolyma, `prosodyctl shell module load pep muc.xmpp.org` ??? PROFIT!
-
singpolyma
Zash: does that actually work? I havent tried it
-
gooya
> maybe as a security consideration too > because the message can contain a lot of things Possibly only allow message message pinning by certain roles
-
singpolyma
MSavoritias fae.ve: for storing the pins
-
MSavoritias fae.ve
ah.
-
MSavoritias fae.ve
wait isnt that basically MIX?
-
singpolyma
No
-
singpolyma
It's just normal pep
-
MSavoritias fae.ve
okay
-
singpolyma
Where the jid happens to be a muc
-
moparisthebest
cram a comma seperated list of message IDs in some muc config field, done
-
singpolyma
moparisthebest: no
-
MSavoritias fae.ve
> > maybe as a security consideration too > > because the message can contain a lot of things > Possibly only allow message message pinning by certain roles yeah for sure
-
singpolyma
MUC config fields are for humans
-
singpolyma
And also comma seperated fields are always wrong in xmpp
-
Zash
singpolyma, IIRC it mosly needs a different affiliation integration, i.e. some code that looks at room affiliations instead of rosters (which don't exist)
-
singpolyma
Zash: right. So if I load it now probably it'll crash loiking for roster?
-
moparisthebest
Standardize a flag on muc config fields that says "not for humans" while you are at it
-
singpolyma
moparisthebest: well, I guess we have type=hidden
-
moparisthebest
You can make it \0 separated if you want 🤣
-
Zash
Oh, let's get back to my peev about XEP-0004 not having an array type! :D
-
singpolyma
It does?
-
Zash
NOT
-
singpolyma
Um. What is list-multi?
-
Zash
Select from a list of options?
-
Zash
Not quite array of arbitrary strings
-
singpolyma
So use <open/>
-
Zash
Is that what <open/> means?
-
singpolyma
It means you can add any options you want yes
-
Zash
> The <open/> validation method applies to "text-multi" differently; it hints that each value for a "text-multi" field shall be validated separately. This effectively turns "text-multi" fields into an open-ended "list-multi", with no options and all values automatically selected. Hmm or that?
-
singpolyma
Yes
-
Zash
And define a stanza-id datatype
-
singpolyma
This is what I proposed for multi language the other day also
-
cal0pteryx
> i dont think for private chats pinned messages make much sense anyway Yes, they do! Small communities pinning for example pictures of their latest "everybody should have that on quick-access". Could be schedules of their team in sports, song lyrics for a music band chat, you name it ↺
-
Hydrogen
or funny moments. especially funny moments
-
anubis
if there is Yunohost users/admins in the room https://forum.yunohost.org/t/prosody-xmpp-server-for-yunohost-12/29128 🙂
-
moparisthebest
Very nice
-
moparisthebest
Slightly better attacks against sha2 https://eprint.iacr.org/2024/349
-
singpolyma
We haven't even migrated from sha1 yet 😛
-
singpolyma
moparisthebest: do you have a favourite next? Sha3? Blake? Other?
-
moparisthebest
I don't
-
singpolyma
Is this attack against sha2 generally or sha256 specifically?
-
moparisthebest
both
-
kurisu
in practice does jingle file transfer ever have more than one <content>
-
kurisu
like would C or Dino work if they were sent such
-
lovetox
as i understood it its far away from an attack
-
moparisthebest
lovetox: it's an improvement on a past attack, and schneiers law says attacks only improve :)
-
Zash
Go forth implement caps2 and whatever supports hash agility!