lovetoxone of the more weird things is that server put requested mam messages into offline storage
Anton L. Šijanechas joined
lovetoxwas there not a possibility to turn that off?
lovetoxsomething to clear the offline cache on connect or something
jcbrandI 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.✎
jcbrandI 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)
ZashCan't you cache disco#info and thus checking should normally be a check without roundtrip?
jcbrandI'm more worried about some servers not advertising support but indeed supporting carbons. I guess that's a bit silly
jcbrandAnd I then don't enable carbons and then get bug reports
ZashAlso, carbons being an iq is silly, sasl2+bind2 when?
jcbrandSo really what I want to avoid is bug reports 🙂
ZashSo you want it to just work, even if everything is horribly broken, so that nobody notices and reports the bugs?
jcbrandIf simply sending an IQ without checking for support results in less bug reports, then that's what I'd prefer
ZashI am conflicted
jcbrandI guess I'm a bit paranoid. I can just assume server developers are sensible and will properly advertise support
jonas’and if they're not its likely an easy fix
jcbrandYes, 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?
Zashwarn, no carbons advertised, server is totally outdated, abort()
jcbrandyep, I'll warn
Zashotherwise this seems like the kind of thing that results in more annoying bug reports sent to someone else
lovetoxits a fucking pandemic
lovetoxseems the whole world has MUCs added to their roster
lovetoxim the idot who writes code that assumes a roster contact is not a muc
jcbrand> otherwise this seems like the kind of thing that results in more annoying bug reports sent to someone else
jcbrandI don't think I've every encountered someone having a MUC in the roster✎
jcbrandI don't think I've ever encountered someone having a MUC in the roster ✏
jcbrandI'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
lovetoxits funny that Discovery is XEP number 30
lovetoxthey they added 20+ other XEPs until they reached the conclusion, its probably good if we know what we are talking to