-
Notifications
You must be signed in to change notification settings - Fork 26
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
Track the user's relay list using polling #438
Track the user's relay list using polling #438
Conversation
d093725
to
ded4752
Compare
a4de7bf
to
082407f
Compare
seeing concerning warnings on this branch:
97 unhandled eose's seems large also:
which seems to be trying to fetch from a bunch of relays I don't recognize, is this trying to do the outbox model? |
there also seems to be log entries that are creating newlines which we should try to avoid (Muted, desired_relays) |
Nope, just k:10002 Can you try with |
Which npub are you using? I'll see if I can reproduce ... |
|
800de7a
to
0813c26
Compare
I'm not able to reproduce the "unrecognized relays" or "unhandled eose's" issues mentioned above, seems to be working rationally for me w/ Will's npub. @jb55 any chance I can get you to capture a log of it doing this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a few things then we're good to go!
src/muted.rs
Outdated
let content = note.content().to_lowercase(); | ||
for word in &self.words { | ||
if content.contains(&word.to_lowercase()) { | ||
debug!("{}: MUTED word: {}", hex::encode(note.id()), word); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also only encoded when it matches (and it's commented out for now)
0813c26
to
f9a2c39
Compare
f9a2c39
to
8483847
Compare
sorry for the delay! thanks! |
This is the third attempt, the previous were #346 and #380
This version uses polling instead of async operations