mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-30 00:41:42 +00:00
Fix dual subscription to mentions feed
This commit is contained in:
parent
16d25f06bc
commit
4204a56d7d
@ -233,7 +233,10 @@ impl Overlord {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// Separately subscribe to our mentions on our read relays
|
// Separately subscribe to our mentions on our read relays
|
||||||
|
// (Because NIP-65 is not in widespread usage, we do this on all relays instead.
|
||||||
|
// see apply_relay_assignment())
|
||||||
let read_relay_urls: Vec<RelayUrl> = GLOBALS.relays_url_filtered(|r| r.read);
|
let read_relay_urls: Vec<RelayUrl> = GLOBALS.relays_url_filtered(|r| r.read);
|
||||||
for relay_url in read_relay_urls.iter() {
|
for relay_url in read_relay_urls.iter() {
|
||||||
// Start a minion for this relay if there is none
|
// Start a minion for this relay if there is none
|
||||||
@ -247,6 +250,7 @@ impl Overlord {
|
|||||||
payload: ToMinionPayload::SubscribeMentions,
|
payload: ToMinionPayload::SubscribeMentions,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
'mainloop: loop {
|
'mainloop: loop {
|
||||||
match self.loop_handler().await {
|
match self.loop_handler().await {
|
||||||
|
Loading…
Reference in New Issue
Block a user