aand very nicely fixed a race condition with simultaneous url previews, it only gets requested once and all requests get the same response when it's finished :3
I love how promises make this so elegant
https://git.pixie.town/f0x/synapse-media-proxy/commit/9b55f320fa13da434841222a873b7a2c0390f432
@f0x wait what
@f0x this is like 'uwu we made a little fucky wucky' but 10x more condescending
@dumpsterqueer someone purposefully made their server discovery setup as convoluted as possible, i've since realized my fault was you have to send a *different Host header*
this person made it return a smug error if you don't send the other Host header but just connect directly...
@dumpsterqueer it's way too hot for smug fuckery like this >:(
@f0x @dumpsterqueer@ondergrond.org smuckery if you will
god fucking dammit this part of the spec sucks ASS