-
sonny
Hey, so xmpp.js supports "dynamic" dns/http lookups. However a user is asking to add multiple endpoints support *client side* in configuration. Is that a common requirement?
-
sonny
https://github.com/xmppjs/xmpp.js/issues/568
-
sonny
or common use case*
-
pep.
I'm curious what their use-case is, fallback endpoints? Maybe they can solve that at the DNS level rather?
-
sonny
"I'm a user that doesn't have admin capabilities to update DNS on our XMPP servers, and admins who do are reluctant to do so because of pre-existing network dependencies"
-
pep.
I see. Then I guess it depends if you want to support this use-case? I can't help much I'm not sure how common that is
-
sonny
ok - thanks
-
pep.
sonny, maybe ask conversejs? or jsxc
-
pep.
JC is not on this channel, maybe you can join discuss@conference.conversejs.org
-
sonny
why? I don't think it is web specific
-
pep.
Ah when that user says endpoint, what kind of endpoint is that
- pep. rereads the issue
-
sonny
yep it's unclear
-
pep.
What does "enpoint" in the doc means? In the documentation bits they quoted
-
sonny
hostname and port
-
sonny
tcp/direct tls/websocket
-
pep.
interesting
-
sonny
here you get an idea https://github.com/xmppjs/xmpp.js/tree/master/packages/resolve#usage
-
sonny
so if you pass a domain to the client library it uses `resolve` to fetch endpoints, sort them, and fallbacks https://github.com/xmppjs/xmpp.js/tree/master/packages/client#client-1
-
sonny
yeah doc is really lacking I think it's defeating its purpose by confusing users
-
pep.
What project doesn't have lacking documentation..
-
sonny
prosody? 😀
-
pep.
I'm not convinced. (Not saying it's particularly bad either)
-
lovetox
hm can i send a direct invite as pm to a muc participant?
-
Zash
I don't see why not
-
lovetox
hm yes
-
Zash
Unless it's tied too hard to invites being in type=normal messages?
-
lovetox
yeah i just looked that up
-
lovetox
but nothing says that a direct invite must be type=normal
-
lovetox
where you are getting this from?
-
lovetox
also private message can be type=chat
-
lovetox
or type=normal
-
lovetox
it just is not allowed for it to be type=groupchat
-
Zash
Mostly just based on examples in https://xmpp.org/extensions/xep-0249.html having no type attribute
-
Zash
It /would/ be kinda cool to send invites to entire rooms
-
lovetox
yeah but that just doesnt mean a thing does it
-
lovetox
all examples are minimal examples
-
lovetox
and only contain stuff which is absolutley necessary