mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
api: jsonrpc: add get_push_state to check push notification state (#7356)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user