-
jjj333_p (any pronouns)
anyone seen the maintainer of https://www.npmjs.com/package/stanza ?
-
jjj333_p (any pronouns)
domain that their chat is hosted on now points to the login for some sketchy ai app
-
jjj333_p (any pronouns)
no commits in a year
-
jjj333_p (any pronouns)
alternatively where are the docs for https://github.com/xmppjs/xmpp.js?tab=readme-ov-file
-
jjj333_p (any pronouns)
found it https://github.com/xmppjs/xmpp.js/tree/main/packages/client
-
jjj333_p (any pronouns)
i keep running into ```xml <stream:error> <undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> <text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Client acknowledged more stanzas than sent by server</text> </stream:error> ``` 🤔
- jjj333_p (any pronouns) retracted a previous message, but it's unsupported by your client.
-
moparisthebest
bad smacks impl?
-
jjj333_p (any pronouns)
oh ig if we'll discuss it ill post it again instead of retracting ```xml <stream:error> <undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> <text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Client acknowledged more stanzas than sent by server</text> </stream:error> ```
-
jjj333_p (any pronouns)
i fixed it by removing this that was in the sample code:
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/019c0901-30b7-7f11-a498-6ee3e5d3d9ba/9768de77-f056-461d-92ae-f4712ff1ed4c.png
-
Link Mauve
jjj333_p (any pronouns), just so you know, a lot of the XMPP community is currently at XMPP Summit in Brussels, you might not get much help these few days. :)
-
jjj333_p (any pronouns)
ah gotcha
-
jjj333_p (any pronouns)
one of these days maybe ill be able to go to such events (i may move to germany)
-
Link Mauve
Where are you located currently?
-
jjj333_p (any pronouns)
hawaii 🙃
-
jjj333_p (any pronouns)
it costs like $250 just to go between islands, and im a broke college student
-
Link Mauve
Oh wow.
-
jjj333_p (any pronouns)
i also dont live on oahu which is the island that any events in hawaii happen on
-
Link Mauve
😭 1It costed me about 30€ to go from my place to Brussels by trains, about 600km.✎ -
Link Mauve
It cost me about 30€ to go from my place to Brussels by trains, about 600km. ✏
-
jjj333_p (any pronouns)
its beautiful out here, but the price you pay is isolation... I plan on doing a masters in germany or the like though. probably offtopic for this room lol
-
vpzom
Is there a standard process for detecting URLs inside XEP-0393 messages? How should that interact with the styling tokens?
-
lovetox
393 defines no syntax for urls
-
lovetox
so .. the styling syntax rules apply to urls the same as to all other text
-
vpzom
ah true I guess that's fine since they still show up
-
vpzom
actually, is it even possible for a link to cross the style boundaries given the whitespace rules?
-
jjj333_p (any pronouns)
> actually, is it even possible for a link to cross the style boundaries given the whitespace rules? in theory urls can contain spaces, one of those weird grey areas ↺
-
theTedd
in the form of "%20" which browsers might choose to display 'nicely'
-
jjj333_p (any pronouns)
gajim breaks the xep0066 embed if the url contains spaces (because i guess the url doesnt match the way its parsing the body?) even though if you copy paste into firefox it loads as expected
-
jjj333_p (any pronouns)
> in the form of "%20" which browsers might choose to display 'nicely' ive pasted links with a normal ` ` ↺
-
theTedd
Yes, but the browser does the conversion for you
-
jjj333_p (any pronouns)
curl also handles it fine as long as you put the url in " so that the shell doesnt eat it
-
vpzom
I think if a user puts a space in a message, then it's reasonable to assume they don't mean it to be part of the URL
-
jjj333_p (any pronouns)
perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed✎ -
luca
You won't be able to find anyone agree on how a URL should look https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/
❤ 1 -
jjj333_p (any pronouns)
perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed ✏
-
theTedd
aka People try to be clever instead of following the spec
-
luca
Maybe read the blog? It does mention "the spec", or lack thereof
-
theTedd
I did. It mentions RFC 3986 and 3987, the latter is for internationlized urls
-
theTedd
The issue is that everyone writes their own parser differently, based on what _they_ expect/want
-
singpolyma
> perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed Who you calling everyone 😉 ↺
-
singpolyma
There are also several specsbwith several versions and not all the same. None allow spaces though
-
moparisthebest
> I did. It mentions RFC 3986 and 3987, the latter is for internationlized urls yes the 2 specs no one follows ↺
-
moparisthebest
the XMPP equivalent of mixing 2 url parsers is mixing 2 xml parsers, which has resulted in really nasty vulns in the past https://project-zero.issues.chromium.org/issues/42451378 too bad we are all still doing this
-
jjj333_p (any pronouns)
> Who you calling everyone 😉 tbh i assumed cheogram did since my understanding is its based on conversations ↺
-
jjj333_p (any pronouns)
i just assumed it would be inherited
-
lovetox
> perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed Gajim has a option to preview all images ↺
-
lovetox
also without 0066
-
jjj333_p (any pronouns)
> Gajim has a option to preview all images lovetox, it seems to be either autoload all content or it doesnt embed at all. I dont want to have to open firefox every time but i also dont want every image ever downloaded, especially with there being no automatic pruning ↺