mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Rename handle of events fetch
This commit is contained in:
parent
f991813f27
commit
e05b68f05e
@ -48,7 +48,7 @@ impl Minion {
|
||||
.get_handle_by_id(&subid.0)
|
||||
.unwrap_or_else(|| "_".to_owned());
|
||||
|
||||
let close: bool = &handle[0..5] == "event";
|
||||
let close: bool = &handle[0..5] == "temp_";
|
||||
|
||||
// Update the matching subscription
|
||||
match self.subscriptions.get_mut_by_id(&subid.0) {
|
||||
|
@ -367,7 +367,7 @@ impl Minion {
|
||||
debug!("{}: Event Filter: {} events", &self.url, filter.ids.len());
|
||||
|
||||
// create a handle for ourselves
|
||||
let handle = format!("events{}", self.next_events_subscription_id);
|
||||
let handle = format!("temp_events_{}", self.next_events_subscription_id);
|
||||
self.next_events_subscription_id += 1;
|
||||
|
||||
// save the subscription
|
||||
|
Loading…
Reference in New Issue
Block a user