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 Mail setup #184

Merged
merged 2 commits into from
Jun 4, 2021
Merged

Fix Mail setup #184

merged 2 commits into from
Jun 4, 2021

Conversation

marbetschar
Copy link
Member

This PR fixes the Mail setup in Online Accounts by introducing two changes:

  1. To completely configure a mail account we need three sources in EDS

According to the code in Evolution, we need 3 sources to completely configure a mail account. Until now we only used two. The first commit of this PR fixes this. This potentially fixes #172 as well, can you please verify @danrabbit?

  1. The second commit of this PR fixes IMAP: real name is not set #181

The change handler was simply never executed in code if the user did not change the name - therefore the passed string was never set. The commit changes this by setting the initial state to the correct value.

@marbetschar marbetschar requested a review from danirabbit June 4, 2021 17:12
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Nice job finding the obvious error with the real name as well 😅

I'm still having trouble with the saved password in the flatpak, but this does seem to work for native mail. I wonder if there's a dbus interface we're missing that we need to add to the Mail sandbox

@danirabbit danirabbit merged commit 17897b0 into main Jun 4, 2021
@danirabbit danirabbit deleted the fix-imap-setup branch June 4, 2021 17:21
@marbetschar
Copy link
Member Author

maybe @Marukesu can help out regarding a potentially missing interface for Mail in the Flatpak build? Any idea what might cause the password not be saved in the Flatpak version?

@Marukesu
Copy link

Marukesu commented Jun 5, 2021

eds use libsecret to read/save passwords, because we are on a sandbox, libsecret try to get them from a file on the sandbox instead of the DBus Interface.

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.

IMAP: real name is not set Passwords aren't saved for Imap
3 participants