Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server flags configuration #1082

Merged
merged 3 commits into from
Oct 26, 2019
Merged

Fix server flags configuration #1082

merged 3 commits into from
Oct 26, 2019

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Oct 26, 2019

This is an attempt to fix #1025

Alexander Krotov added 2 commits October 26, 2019 04:30
deltachat-node do not use serverFlags key and store "undefined" in the database when "server_flags" are not passed
It is converted to "null" string and stored in the database by the server core.

Returning 0 is good enough to trigger deltachat-rust-core guessing logic.
@link2xt
Copy link
Collaborator Author

link2xt commented Oct 26, 2019

I have tested that at least on the initial configuration, server flags are set successfully in the database:

17|server_flags|66048

They are not undefined or null anymore.

It receives a dictionary of credentials, which contain mail_security and send_security, not mailSecurity and sendSecurity
@nicodh
Copy link
Member

nicodh commented Oct 26, 2019

In fact the intial configuration is now set correct, but updating the configuration still doesn't work. Should be fixed in another PR

@nicodh nicodh merged commit f956bbd into master Oct 26, 2019
@link2xt link2xt deleted the server_flags branch October 26, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advanced Settings Ignored
2 participants