Skip to content

Commit

Permalink
feat: add developer option to disable IMAP IDLE
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Oct 9, 2023
1 parent a9aba5e commit a630bcd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added
- mark webxdc app context as secure #3413
- Experimental: Related Chats
- Developer option to disable IMAP IDLE #4803

### Changed
- update deltachat-node and deltachat/jsonrpc-client to `v1.123.0`
Expand Down
2 changes: 2 additions & 0 deletions _locales/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@
<string name="pref_auto_folder_moves_explain">Chat conversations are moved to avoid cluttering the Inbox</string>
<string name="pref_only_fetch_mvbox_title">Only Fetch from DeltaChat Folder</string>
<string name="pref_only_fetch_mvbox_explain">Ignore other folders. Requires your server to move chat messages to the DeltaChat folder.</string>
<string name="pref_disable_idle_title">Disable IMAP IDLE</string>
<string name="pref_disable_idle_explain">Poll IMAP server for new messages even if the server supports IDLE.</string>
<string name="pref_show_emails">Show Classic E-Mails</string>
<string name="pref_show_emails_no">No, chats only</string>
<string name="pref_show_emails_accepted_contacts">For accepted contacts</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export function SettingsExperimentalFeatures({
key: 'experimentalEnableMarkdownInMessages',
label: 'Render Markdown in Messages',
})}
{renderDTSettingSwitch({
key: 'disableImapIdle',
label: tx('pref_disable_imap_idle'),
})}
{renderDTSettingSwitch({
key: 'enableWebxdcDevTools',
label: 'Enable Webxdc Devtools',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ export default function SettingsImapFolderHandling({
key: 'only_fetch_mvbox',
description: tx('pref_only_fetch_mvbox_explain'),
})}
{renderDeltaSwitch2({
label: tx('pref_disable_idle_title'),
key: 'disable_idle',
description: tx('pref_disable_idle_explain'),
})}
</>
)
}

0 comments on commit a630bcd

Please sign in to comment.