diff options
Diffstat (limited to 'src/rvi')
-rw-r--r-- | src/rvi/parameters.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rvi/parameters.rs b/src/rvi/parameters.rs index fc5d663..e23ce9d 100644 --- a/src/rvi/parameters.rs +++ b/src/rvi/parameters.rs @@ -22,7 +22,7 @@ pub struct Notify { impl Parameter for Notify { fn handle(&self, remote: &Mutex<RemoteServices>, _: &Mutex<Transfers>) -> Result<Option<Event>, String> { remote.lock().unwrap().backend = Some(self.services.clone()); - Ok(Some(Event::PendingUpdateAvailable(self.update_available.clone()))) + Ok(Some(Event::UpdateAvailable(self.update_available.clone()))) } } |