Refactor: remove ntfy_proxy, use SharedEnv

This commit is contained in:
ranfdev
2023-10-23 15:00:18 +02:00
parent 1a65c290fa
commit be6ce20b97
5 changed files with 150 additions and 254 deletions

View File

@ -260,6 +260,9 @@ impl Subscription {
return Promise::ok(());
};
let value = last.time;
if self.imp().read_until.get() == value {
return Promise::ok(());
}
let this = self.clone();
Promise::from_future(async move {