Skip to content

Conversation

@link2xt
Copy link
Collaborator

@link2xt link2xt commented Sep 13, 2024

This change removes OAuth2 for Gmail
as Delta Chat does not have a working
client ID anymore.
Tests are adjusted to test against Yandex
and MX queries for OAuth2 are always disabled
because they were only used to detect Google Workspace.

This change removes OAuth2 for Gmail
as Delta Chat does not have a working
client ID anymore.
Tests are adjusted to test against Yandex
and MX queries for OAuth2 are always disabled
because they were only used to detect Google Workspace.
@link2xt link2xt force-pushed the link2xt/update-provider-database branch from f6b3b67 to 2e151b4 Compare September 13, 2024 17:05
@link2xt
Copy link
Collaborator Author

link2xt commented Sep 13, 2024

See chatmail/provider-db#310 for the change to the provider database that disabled Gmail.

@link2xt link2xt requested review from iequidoo and r10s September 13, 2024 17:24
async fn from_address(context: &Context, addr: &str, skip_mx: bool) -> Option<Self> {
async fn from_address(context: &Context, addr: &str) -> Option<Self> {
let addr_normalized = normalize_addr(addr);
let skip_mx = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sure MX lookup will be never needed for yandex?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If we support it, we can enable it and test. I think Yandex has something like Google Workspace already but doubt we want to support it, especially since Yandex is unusable anyway due to strict rate limits and requests to solve captcha on the web when you hit the limit.

@link2xt link2xt merged commit afb01e3 into main Sep 13, 2024
@link2xt link2xt deleted the link2xt/update-provider-database branch September 13, 2024 17:58
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.

3 participants