Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Septias authored and Simon-Laux committed Jun 4, 2024
1 parent 1845c7f commit 6785105
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _locales/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@
<string name="pref_edit_profile">Edit Profile</string>
<string name="disable_imap_idle">Disable IMAP IDLE</string>
<string name="disable_imap_idle_explain">Do not use IMAP IDLE extension even if the server supports it. Enabling this option will delay message retrieval, enable it only for testing.</string>
<string name="enable_realtime">Enable Realtime APIs</string>
<string name="enable_realtime_explain"> Enable Webxdc realtime APIs which create direct connection between devices and leak IP addresses to each other.</string>
<string name="send_stats_to_devs">Send statistics to Delta Chat\'s developers</string>


Expand Down
5 changes: 5 additions & 0 deletions src/renderer/components/Settings/ExperimentalFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ export function ExperimentalFeatures({ settingsStore }: Props) {
// 853b584251a5dacf60ebc616f7fb10edffb5c5e5/src/main/index.ts#L12-L21
description='Careful: opening developer tools on a malicious webxdc app could lead to the app getting access to the Internet'
/>
<CoreSettingsSwitch
label={tx('enable_realtime')}
settingsKey='enable_realtime'
description={tx('enable_realtime_explain')}
/>
</>
)
}
Expand Down
1 change: 1 addition & 0 deletions src/renderer/stores/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface SettingsStoreState {
disable_idle: string
media_quality: string
is_chatmail: '0' | '1'
enable_realtime: string
}
desktopSettings: DesktopSettingsType
rc: RC_Config
Expand Down

0 comments on commit 6785105

Please sign in to comment.