-
lovetox
one of the more weird things is that server put requested mam messages into offline storage
-
lovetox
was there not a possibility to turn that off?
-
lovetox
something to clear the offline cache on connect or something
-
jcbrand
I have a question for client developers. How seriously do you take service discovery? Do you always check for support, or do you sometimes YOLO? I'm specifically thinking of carbons. So far, I didn't check for carbons support and just always sent the IQ. I know am thinking of checking for support first, but I wonder if that might cause breakage.✎ -
jcbrand
I have a question for client developers. How seriously do you take service discovery? Do you always check for support, or do you sometimes YOLO? I'm specifically thinking of carbons. So far, I didn't check for carbons support and just always sent the IQ. I now am thinking of checking for support first, but I wonder if that might cause breakage. ✏
-
jonas’
checking for support has the advantage that you don't have to rely on the service sending an understandable error back in case it doesn't support it
-
jonas’
for server features, I usually do discovery; for client features, I don't care (as I can't know which client I'll be talking to anyway, thinking carbons and MAM)
-
Zash
Can't you cache disco#info and thus checking should normally be a check without roundtrip?
-
jonas’
yup
-
jcbrand
I'm more worried about some servers not advertising support but indeed supporting carbons. I guess that's a bit silly
-
jcbrand
And I then don't enable carbons and then get bug reports
-
Zash
Also, carbons being an iq is silly, sasl2+bind2 when?
-
jcbrand
So really what I want to avoid is bug reports 🙂
-
Zash
So you want it to just work, even if everything is horribly broken, so that nobody notices and reports the bugs?
-
jcbrand
If simply sending an IQ without checking for support results in less bug reports, then that's what I'd prefer
-
Zash
I am conflicted
-
jcbrand
I guess I'm a bit paranoid. I can just assume server developers are sensible and will properly advertise support
-
jcbrand
🙂
-
jonas’
:-)
-
jonas’
and if they're not its likely an easy fix
-
jcbrand
Yes, but to figure out that that's the problem takes time (which is what I'm trying to avoid)
-
jonas’
that should be easy with proper logging and diagnostics?
-
Zash
warn, no carbons advertised, server is totally outdated, abort()
-
jcbrand
yep, I'll warn
-
Zash
otherwise this seems like the kind of thing that results in more annoying bug reports sent to someone else
-
lovetox
its a fucking pandemic
-
lovetox
seems the whole world has MUCs added to their roster
-
lovetox
im the idot who writes code that assumes a roster contact is not a muc
-
Zash
contagious roster-MUCs?
-
jcbrand
> otherwise this seems like the kind of thing that results in more annoying bug reports sent to someone else yep ok.
-
jcbrand
I don't think I've every encountered someone having a MUC in the roster✎ -
jcbrand
I don't think I've ever encountered someone having a MUC in the roster ✏
-
jcbrand
I'm not sure what Converse would do, I'm pretty sure it also assumes roster entries are contacts
-
qy
> its a fucking pandemic > seems the whole world has MUCs added to their roster 😅
-
lovetox
its funny that Discovery is XEP number 30
-
lovetox
they they added 20+ other XEPs until they reached the conclusion, its probably good if we know what we are talking to