mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Can set (update) notifications settings
This commit is contained in:
@ -37,4 +37,5 @@ pub mod new_data_conservation_policy;
|
||||
pub mod new_custom_emoji;
|
||||
pub mod user_ws_message;
|
||||
pub mod user_ws_connection;
|
||||
pub mod call_signal;
|
||||
pub mod call_signal;
|
||||
pub mod new_notifications_settings;
|
11
src/data/new_notifications_settings.rs
Normal file
11
src/data/new_notifications_settings.rs
Normal file
@ -0,0 +1,11 @@
|
||||
//! # New conversation settings
|
||||
//!
|
||||
//! @author Pierre Hubert
|
||||
|
||||
use crate::data::user::UserID;
|
||||
|
||||
pub struct NewNotificationsSettings {
|
||||
pub user_id: UserID,
|
||||
pub allow_notifications_sound: bool,
|
||||
pub allow_conversations: bool,
|
||||
}
|
Reference in New Issue
Block a user