api: jsonrpc: add get_push_state to check push notification state (#7356)

This commit is contained in:
Simon Laux
2025-10-28 17:58:11 +01:00
committed by GitHub
parent 145145f0fb
commit 92c31903c6
5 changed files with 36 additions and 1 deletions

View File

@@ -170,6 +170,7 @@ pub(crate) struct PushSubscriberState {
heartbeat_subscribed: bool,
}
/// Push notification state
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
#[repr(i8)]
pub enum NotifyState {