y₿ on Nostr: #蹃驼 不驮垃圾! ...
#蹃驼 不驮垃圾!
设置一个“污点”标记笔记对象,中继统计“污点”对象的计数和标记源数量,标记源多且点数也多,即代表众客户端都标记了该笔记是“垃圾事件”,中继应予以过滤。
#nostr
设置一个“污点”标记笔记对象,中继统计“污点”对象的计数和标记源数量,标记源多且点数也多,即代表众客户端都标记了该笔记是“垃圾事件”,中继应予以过滤。
#nostr
quoting note13ag…9w9xI have just coded something that gets rid of R-plyGuy and R-plyGal quite well. I will make it available on unstable soon. It is not the ultimate solution (is there any such thing?) but it works for these.
First I extended the filter.rhai script to have access to a variable 'name' which is the name of the user (from metadata). In my script I reject based on the user's name being "R-plyGuy" or "R-plyGal"
(I'm not putting the actual name in case someone else's spam filter aggressively filters that from contents).
This doesn't help yet because when the event comes in, we don't have the metadata to lookup the name so the event passes the original spam filtering.
So I added some settings to apply the spam filtering to various situations like the thread feed. The UI originally displays it briefly with a pubkey while it triggers the fetcher to go get the metadata. Once the metadata flows in, the next time it recomputes the feed the spam filtering now sees the name and strips out the event.
So you might see these flash on the screen, but not for long.
I have some additional work, then I'll push to unstable. Then I'll try to see if we can't get the master branch merged forward soon.