Skip to repository content18 lines · 467 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T05:38:37.944Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
call_settings.rs
1use settings::{RegisterSetting, Settings};
2
3#[derive(Debug, RegisterSetting)]
4pub struct CallSettings {
5 pub mute_on_join: bool,
6 pub share_on_join: bool,
7}
8
9impl Settings for CallSettings {
10 fn from_settings(content: &settings::SettingsContent) -> Self {
11 let call = content.calls.clone().unwrap();
12 CallSettings {
13 mute_on_join: call.mute_on_join.unwrap(),
14 share_on_join: call.share_on_join.unwrap(),
15 }
16 }
17}
18