1
0
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:
2021-04-11 13:49:22 +02:00
parent 138142f52d
commit c6306eee7f
5 changed files with 37 additions and 2 deletions

View File

@ -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;

View 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,
}