Help wanted | gatherings madness
I'm seeing this super weird bug around this gathering: %r8Ol0jr... , namely, it's not rendering.
The problem is this code in patchbay-gatherings
plugs/message/html/render/gathering.js
:
3: const { isGathering } = require('ssb-gathering-schema')
// ...
20: if (!isGathering(msg)) return // <<<<<
is it a gathering? isGathering in the current master branch of patchbay say NO.
logging isGathering.errors
I discover it's beef is with the mentions on this gathering message (a new feature, this gathering was made by scry). Specifically it seems the mentions are ok but this validator realy doesn't like the name
attribute on those mentions. Take it out and this thing is all like YEP, that's a gathering.
Here's the head spin
npm link a local copy of patchbay-gatherings
and it fucking works fine.
I'm pulling my hair out.
It seems like somehow different code is being installed or run... but I don't know where and haven't been able to find it.
I'm really hoping it's me doing something stupid.
I'll buy anyone who can throw me a rope to pull myself out of this pit I'm in a beer
cc @christianbundy can I ask you for help? I feel like you're a master sleuth. (I have tabs open for your PRs, the next one I'm going to get merged is the markdown one... I haven't forgotten the things <3)