Skip to content

Commit

Permalink
Search for replies on the READ relays (why was this missing?)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Feb 26, 2025
1 parent 83f5914 commit e0462fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gossip-lib/src/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ pub fn relays_for_seeking_replies(event: &Event) -> Result<Vec<RelayUrl>, Error>
// Inboxes of the author
relays.extend(get_all_pubkey_inboxes(event.pubkey)?);

// All of the user's READ relays
relays.extend(Relay::choose_relay_urls(Relay::READ, |_| true)?);

// Inboxes of the 'p' tagged people, up to num
//for (tagged_pubkey, _opt_relay_url, _opt_marker) in event.people() {
// relays.extend(get_all_reasonable_boxes(tagged_pubkey, RelayUsage::Inbox, num)?);
Expand Down

0 comments on commit e0462fa

Please sign in to comment.