From 7809f6db7863238ee41b9298d9f6b64c7221fe67 Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Thu, 19 Oct 2023 09:35:22 +0700 Subject: [PATCH] Remove extra use, and some more fixes --- src/common/pushnoti.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/pushnoti.rs b/src/common/pushnoti.rs index e11117b..6dc0389 100644 --- a/src/common/pushnoti.rs +++ b/src/common/pushnoti.rs @@ -119,7 +119,8 @@ impl PushNotiThread { |message: FcmMessage| { log::debug!("Got FCM Message: {:?}", message.payload_json); if let Some(id) = message.persistent_id.clone() { - let _ = sender.try_send(PnRequest::AddPushID { id }); // Don't worry if queue is full we will just not register as received yet + // Don't worry if queue is full we will just not register as received yet + let _ = sender.try_send(PnRequest::AddPushID { id }); } thread_pn_watcher.send_replace(Some(PushNoti { message: message.payload_json,