-
debacle
Missing feature in all clients, I'm aware of, most likely missing standard/XEP: Link to message in other chat/MUC. Reference like a reply, but out of current chat. Use case: In my company, we have various MUCs. In one MUC developer Juliet talks about an issue and there is a short discussion about it. Than, in another MUC or in one-to-one, support person Romeo likes to mention this dialogue to their colleague Mercutio, so that they can read the thread and maybe participate. ATM, only the MUC can be linked and Romeo might give a date/time to Mercutio. What do people think about it? Do other systems, e.g. MS-Teams, have such a feature?
-
jjj333_p (any pronouns)
we just got done discussing this in xsf room lol
-
jjj333_p (any pronouns)
https://logs.xmpp.org/xsf/2026-10-27
-
debacle
> we just got done discussing this in xsf room lol Oh, wow, that was just… *yesterday*? How comes that I only today felt the feature missing at work. Coincidance or brain manipulation by alien rays?✎ ↺ -
debacle
> we just got done discussing this in xsf room lol Oh, wow, that was just… *yesterday*? How comes that I only *today* felt the feature missing at work. Coincidance or brain manipulation by alien rays? ✏ ↺
-
debacle
Next XEP: XMPP over Alien Rays.
❤️ 1 -
arne-bruen
I wonder how to make the UI/UX for such a feature in the clients. Maybe just a link that can be copied from a message or thread in a public discussion and then pasted in another chat which then opens that chat?
👍 1 -
jonas’
things like rocketchat have URLs which uniquely identify each message
-
jonas’
so that's kind of how it works
-
leke
I remember discussing this last year too.
-
leke
https://xmpp.org/extensions/xep-0297.html
-
leke
> things like rocketchat have URLs which uniquely identify each message We have a unique and stable stanza ID. ↺
-
jjj333_p (any pronouns)
> I wonder how to make the UI/UX for such a feature in the clients. Maybe just a link that can be copied from a message or thread in a public discussion and then pasted in another chat which then opens that chat? heres how discord does the ux (with matrix doing something similar) which i think is good enough, especially as the uri format discussed would probably be more clear ↺
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/01a17d42-bdfd-7413-aeb0-6f8f451cae76/Screencast_20261027_020655.mp4
-
jjj333_p (any pronouns)
sorry its so pixelated for some reason, thanks spectacle
-
arne-bruen
Thanks all. Will think about adding it later
-
arne-bruen
Could also be interesting for Movim?
-
jjj333_p (any pronouns)
it might be good to wait for there to be a proposed xep first
👍 1 -
leke
I think XEP-0297: Stanza Forwarding, together with XEP-0359, should be sufficient to implement this. The main challenge is navigating to the referenced message: clients have to find the matching stanza ID themselves. If a client doesn’t have that message in its local history, it can’t display it—a limitation that also affects message replies today. Ideally, the server would provide a way to look up messages by stanza ID. That would address both issues at once.
-
XEPs Bot
XEP-0297: *Stanza Forwarding* (Draft, last revised 2013-10-02, v1.0) https://xmpp.org/extensions/xep-0297.html
-
XEPs Bot
XEP-0359: *Unique and Stable Stanza IDs* (Experimental, last revised 2023-02-20, v0.7.0) https://xmpp.org/extensions/xep-0359.html
-
jjj333_p (any pronouns)
(we might want to move this back to xsf discussion to keep everything in one place)✎ -
jjj333_p (any pronouns)
(we might want to move this back to xsf discussion to keep everything in one place, ill link the logs over there so we can continue) ✏
-
singpolyma
> Missing feature in all clients, I'm aware of, most likely missing standard/XEP: > Link to message in other chat/MUC. Reference like a reply, but out of current chat. > Use case: > In my company, we have various MUCs. In one MUC developer Juliet talks about an issue and there is a short discussion about it. > Than, in another MUC or in one-to-one, support person Romeo likes to mention this dialogue to their colleague Mercutio, so that they can read the thread and maybe participate. > ATM, only the MUC can be linked and Romeo might give a date/time to Mercutio. > What do people think about it? Do other systems, e.g. MS-Teams, have such a feature? IMO this is what the forward xep is perfect for ↺
-
projectmoon
Maybe XEP-0372?
-
XEPs Bot
XEP-0372: *References* (Experimental, last revised 2020-12-09, v0.5.0) https://xmpp.org/extensions/xep-0372.html
-
leke
So how should the URI be structured `xmpp:<jid>?<stanzaID>` ?
-
jjj333_p (any pronouns)
👍 2the conclusion the xsf muc came to (again we already had this discussion!) `xmpp:jid@server.tld?join&sid=<stanzaid>`✎ -
leke
good
-
jjj333_p (any pronouns)
the conclusion the xsf muc came to (again we already had this discussion literally an hour ago!) `xmpp:jid@server.tld?join&sid=<stanzaid>` ✏
-
leke
So how can a client that doesn’t have this message in its history locate it? Surely it would need to query the server?
-
Kev
I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC.
-
jjj333_p (any pronouns)
imo you can just show a broken link icon or something and if its clicked do a little notif that the message coulnt be found
-
Kev
> So how can a client that doesn’t have this message in its history locate it? Surely it would need to query the server? Yes, that’s what the archive is for.
-
leke
> I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC. By “join,” I mean entering the MUC. If you want to view a message in a MUC, you have to join it first, right? ↺
-
jjj333_p (any pronouns)
> I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC. aaaaa i hate the fragmented discussions, because they did discuss that ↺
-
Kev
> By “join,” I mean entering the MUC. If you want to view a message in a MUC, you have to join it first, right? Not necessarily, no, you don’t necessarily have to be an occupant of a room to query the MAM history.
🤔 1 -
Sunglocto
> the conclusion the xsf muc came to (again we already had this discussion!) `xmpp:jid@server.tld?join&sid=<stanzaid>` A reminder that domains on their own are also valid jids
-
jjj333_p (any pronouns)
is it a valid muc though
-
leke
It looks like we have everything we need to implement this feature. We could give it a try.
-
Sunglocto
> is it a valid muc though Well yeah why wouldn't it be
-
jjj333_p (any pronouns)
> It looks like we have everything we need to implement this feature. We could give it a try. we have everything we need to implement a lot of things, its the implementing things thats the hard part ↺
👍 1 -
jjj333_p (any pronouns)
> > is it a valid muc though > > Well yeah why wouldn't it be idk doesnt feel right but whatever ↺
-
leke
> we have everything we need to implement a lot of things, its the implementing things thats the hard part This is a fantastic feature—I’ve been looking for something like it for almost two years. So far, though, it only uses XEP-0297 to display a static label; it doesn’t actually do anything. Now I can try adding the ability to jump to a message in a group chat. ↺
-
XEPs Bot
XEP-0297: *Stanza Forwarding* (Draft, last revised 2013-10-02, v1.0) https://xmpp.org/extensions/xep-0297.html
-
jjj333_p (any pronouns)
leke, which client is it youre working on?
-
leke
> leke, which client is it youre working on? It’s closed-source, though. A friend of mine is trying to build a modern Android client with his Claude and GPT “employees” ,so I could ask him to try it out first.😁✎ ↺ -
leke
> leke, which client is it youre working on? It’s closed-source, though. A friend of mine is trying to build a Android client with his Claude and GPT “employees” ,so I could ask him to try it out first.😁 ✏ ↺
-
singpolyma
> I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC. Indeed. I'm also pretty sure every time we have this discussion someone suggests using a URI and we always come back to not needing one. The forwarding xep is re semantic and less likely to leak in weird ways ↺
-
singpolyma
>> I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC. > By “join,” I mean entering the MUC. If you want to view a message in a MUC, you have to join it first, right? No ↺
-
Kev
What is ‘re semantic’?
-
singpolyma
> is it a valid muc though No a base domain cannnot be a valid MUC by spec ↺
👍 1 -
singpolyma
> What is ‘re semantic’? Sorry "more semantic" ↺
-
Kev
Ah. Ta.
-
jjj333_p (any pronouns)
> No a base domain cannnot be a valid MUC by spec Sunglocto, gut feels were right ↺
-
moparisthebest
>> Missing feature in all clients, I'm aware of, most likely missing standard/XEP: >> Link to message in other chat/MUC. Reference like a reply, but out of current chat. >> Use case: >> In my company, we have various MUCs. In one MUC developer Juliet talks about an issue and there is a short discussion about it. >> Than, in another MUC or in one-to-one, support person Romeo likes to mention this dialogue to their colleague Mercutio, so that they can read the thread and maybe participate. >> ATM, only the MUC can be linked and Romeo might give a date/time to Mercutio. >> What do people think about it? Do other systems, e.g. MS-Teams, have such a feature? > > IMO this is what the forward xep is perfect for forwarding XEP is rather useless here, because you need to navigate to the message to see it in context, and you might want to share the link out-of-band, eg link to this conversation from an MR ↺
-
singpolyma
Links from a random web page has different needs for sure. But a new xmpp uri is honestly likely to be useless/confusing to most people since they'll click it and nothing will happen etc
-
lovetox
A link is not good enough, when you forward you want to forward the message with all content
-
lovetox
Not just a id
-
lovetox
Because you have no way of knowing if the receivers can access that id
-
Kev
But you do need the id as well, and how to find it.✎ -
Kev
But you do need the id as well, as how to find it. ✏
-
lovetox
Need.. not necessarily
-
lovetox
But yeah of course it's included
-
lovetox
I mean if your goal is to jump then yes you need it
-
singpolyma
There's also """"security"""" concerns about including the content since you could edit it. So this needs to be clear or whatever
-
lovetox
I think it's obvious, that's how quoting always worked between humans
-
lovetox
Yes someone can quote it wrong
-
lovetox
I don't think we need to solve this
-
lovetox
And other networks also do nothing to solve that
-
lovetox
So we are in good company
-
Kev
Don’t need to solve, but should note in security concerns. That’s all we can do for lots of things.
-
singpolyma
Most of them make it hard or impossible to do because they control the only server
-
lovetox
You hope they do, and no user using that feature can be sure
-
singpolyma
i think I would mark in UI a message where I can't see the source or it doesn't match
-
lovetox
Surely a hint is always good, just wanted to prevent that someone packs out some crypto methods to ensure authenticity
-
singpolyma
Oh yeah no
-
singpolyma
id like e2ea generally but it's not specific to forwarding
-
leke
Do private chats use the `id` attribute directly?
-
kuyuhi
yes, that's how replies work for example
-
kuyuhi
> I wasn’t in the xsf discussion on this, but join is almost certainly wrong there. You want to reference the stanza, not join the MUC. we left it on under the assumption (!) that the only reason it exists in the first place is to let the client know its a muc, not a dm. (since if i see a muc uri that didnt have ?join, that wouldn't stop me from trying to join anyways, so it seems otherwise useless) ↺
-
Kev
Yeah, that’s not how it works - ?join on the end means “This is an instruction to join the MUC”, pretty much.
-
moparisthebest
Kev: where do you get that from ? I thought it was a flag to indicate it was a muc
-
Kev
The way it’s always been? :)
-
moparisthebest
source ? I thought it has always been a flag to indicate muc (:
-
Kev
45 and 147, I’d have thought.
-
Kev
Yes, indeed. ``` <querytype> <name>join</name> <proto>http://jabber.org/protocol/muc</proto> <desc>enables joining a multi-user chat room</desc> <doc>XEP-0045</doc> <keys> <key> <name>password</name> <desc>the password required to enter the room</desc> </key> </keys> </querytype> ```
-
lovetox
this is called an action
-
lovetox
and it tells you to do something, in this case join, in other to send a "message", or to add to the "roster"
-
Kev
Indeed.
-
moparisthebest
"enables joining" right so just a flag indicating it's a MUC ?
-
Kev
That’s not the intent of the text :)
-
moparisthebest
it makes no sense for a URL to embed an instruction/command
-
Kev
That’s specifically what the action types are there for.
-
Kev
See 147
-
kuyuhi
im just confused because if i see a muc uri, im gonna assume i can join it by default, so it feels redundant. what is the expectation when there's no join?
-
kuyuhi
i can only see it as being useful to tell me its a muc, and apparently inly incidentally
-
moparisthebest
right, or a 1:1 with join, that's not how any client I've ever seen has worked
-
lovetox
please read the xep
-
lovetox
it is to communicate intent and to trigger a special UX in other clients
-
lovetox
what is a MUC uri for you=?
-
moparisthebest
147 is informational and not standards track (and doesn't mention join), and 45 says only "the join querytype is registered as a muc-related action" in other words, it means it's a MUC
-
moparisthebest
none of these call it a command , or say anything like "this means you must join the muc"
-
moparisthebest
which would be absurd anyway
-
Kev
Read the rest of what 45 says about it.
-
lovetox
puh, moparisthebest it feels like you want to read what you want to read
-
Kev
I understand that a) you didn’t know about this before and b) you don’t think it useful, but that doesn’t change that this is specced, and has been specced for a long long time.
-
lovetox
join does mean, that i want to trigger a groupchat Join UX in your client
-
lovetox
of course you can imply, if i put ?join behinde a uri, that at least *I* think that this is something you *can* join, hence a muc
-
moparisthebest
right, because it indicates it's a group chat that you have to join to use
-
lovetox
and yes in most cases if you share a MUC uri, obviously i will do it in a way that your client can trigger a easy join UX
-
lovetox
but that does not mean if i share a uri without ?join, that its not a muc
-
moparisthebest
we are arriving at the same destination here, but by interpreting the same words differently 🙃
-
lovetox
or that i did share it in a wrong way
-
moparisthebest
> but that does not mean if i share a uri without ?join, that its not a muc just that all clients share and expect it this way? lol ↺
-
lovetox
what? why do you think someone expects it that way
-
lovetox
you can perfectly share a uri without ?join, and Gajim will offer you multiple options what to do with it
-
moparisthebest
they do, show me a real life example of a muc URI that has ever been shared without ?join
-
lovetox
xmpp:xsf@muc.xmpp.org
-
lovetox
there you go
-
moparisthebest
real life, one you didn't type manually
-
lovetox
where are you going with this argument, i already said above, in most cases you will add ?join, because thats what you want the other person to do
-
lovetox
why would you share a muc if you dont intend that the user joins it
-
moparisthebest
https://burtrum.org/up/1dae8f07-2fff-4afc-af45-b2f4369163f3/zb2rhkssw88o8AujLZCU6Dfug5qPPC8tUxmZZdw4ZCSBtaPc1.jpg

-
lovetox
you want to make it easy for the other person, hence telling their client, to raise a JOIN UX
-
moparisthebest
btw if I click that conversations tries to add it to my roster, so my point is proven, thx
-
lovetox
not sure which point that was
-
lovetox
that conversations makes wrong assumptions ?
-
moparisthebest
that muc URIs always have ?join , and ?join implies its a MUC
-
lovetox
how does that follow from conversations wanting to add this uri to the roster
-
moparisthebest
doesn't have ?join > not a muc > goes to roster
-
lovetox
if you click that uri in Gajim, it will not propose to add it to the roster
-
lovetox
thx counter point proven
-
moparisthebest
what about when you are offline or can't reach the hostname ?
-
moparisthebest
(my conversations was offline there fyi)
-
lovetox
if you find a lets call it bare xmpp:uri without action
-
lovetox
you can make no assumption about the JID, without doing disco
-
lovetox
if you dont want to do disco, you should propose all possible actions to a user and dont choose one over the other
-
lovetox
if you encounter a uri with a action like ?join or ?roster
-
lovetox
then you should on click show the UX intended for these actions
-
kuyuhi
back on the original topic, im still not sure why you wouldn't include join here anyways. worst case scenario, you're already joined. best case scenario, you do in fact have to join first to see the referenced message. "join the room if needed and look at the message with this sid"
-
kuyuhi
but not that it matters, since join is redundant anyways, so id expect the same outcome regardless of presence whether or not you're joined
-
moparisthebest
some muc mam impls used to let never-joined strangers scrape MAM but that's a security/privacy issue so most fixed it
-
moparisthebest
but still some people will complain "but it should work" hehehe classic https://xkcd.com/1172/
-
kuyuhi
top ten xkcds
-
Goot the ticklegoblin!
> some muc mam impls used to let never-joined strangers scrape MAM but that's a security/privacy issue so most fixed it If it's a public MUC, what would be the issue with letting people read the MAM without joining? ↺
-
moparisthebest
it's at minimum rather surprising that unlimited people who never join can be scraping/reading all your messages
-
Goot the ticklegoblin!
So could any of the lurkers who never say anything
-
moparisthebest
sure, but that's not surprising
-
moparisthebest
if you are in a room with 5 people it makes sense they can read your messages, it doesn't make sense that unlimited others can, no?
-
Goot the ticklegoblin!
If it's a public chat, why wouldn't they be able to
-
Goot the ticklegoblin!
There's a publicly accessible log associated with the room
-
moparisthebest
there's no should or should not, it's up to admin, I'm simply saying that it's surprising so shouldn't be default
-
Goot the ticklegoblin!
That's your opinion anyway
-
moparisthebest
of course, did I imply otherwise ?
-
moparisthebest
do other chat systems exist where non-joiners can read all messages ? at least IRC doesn't work that way
-
luca
Depending on what you count as a "non-joiner", discord?
-
Goot the ticklegoblin!
Some IRC's IIRC have an HTML log available over HTTP
-
Goot the ticklegoblin!
Just from someone's lurking though probably, not baked-in to anything
-
Sunglocto
> Some IRC's IIRC have an HTML log available over HTTP Some XMPP rooms also have this too
-
Goot the ticklegoblin!
Having support for this baked-in and well-supported could allow people who don't want to join properly a way to still read and catch up on the room
-
Goot the ticklegoblin!
No presence flood associated either if they have a huge number of lurkers
-
moparisthebest
sure, if room/server admin wants to allow it
-
moparisthebest
I think some servers used to allow public muc-mam for members only rooms too 💀
-
Goot the ticklegoblin!
That Goot will agree is a problem
-
Goot the ticklegoblin!
Where we appear to differ is whether or not this behavior is better opt-in or opt-out✎ -
Goot the ticklegoblin!
Where we appear to differ is whether this behavior is better opt-in or opt-out ✏
-
kuyuhi
i would be happy to see an option to toggle this in public rooms, but i'd definitely err on the side of caution and keep it off by default, so you know exactly what you're getting into
-
moparisthebest
👍 1I don't really have a strong opinion there either , other than it shouldn't *silently* be opt-in (don't surprise users)✎ -
moparisthebest
I don't really have a strong opinion there either , other than it shouldn't *silently* be opt-out (don't surprise users) ✏