Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] External bug of atrifat/nostr-filter #4

Closed
atrifat opened this issue Oct 16, 2023 · 0 comments
Closed

[BUG] External bug of atrifat/nostr-filter #4

atrifat opened this issue Oct 16, 2023 · 0 comments

Comments

@atrifat
Copy link
Owner

atrifat commented Oct 16, 2023

Issue

atrifat/nostr-filter uses classification data from atrifat/nostr-monitoring-tool to filter note events. Recently, it has language filter support. However there is condition of incorrect note filtering since atrifat/nostr-filter waiting language classification data. Current implementation: await publishNostrEvent(pool, relaysToPublish, ev); in atrifat/nostr-monitoring-tool publish note events immediately to upstream relay before language classification have done.

Solution

Consider move await publishNostrEvent(pool, relaysToPublish, ev); code to the end of function after the last classification (language classification).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant