Skip to content

feat(Proton Mail): Add Remove free accounts limit patch #4970

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

Merged
merged 8 commits into from
May 30, 2025

Conversation

ByteEVM
Copy link

@ByteEVM ByteEVM commented May 16, 2025

This patch lifts the max "Free" accounts restriction in Proton Mail (by default, the limit is 2 accounts).

Working as of Proton Mail 4.10.0

Closes #4965

@hoo-dles
Copy link
Contributor

Is the limit removed if the XML node is deleted? Or maybe set to 0 or -1? I can't really think of any use cases where a user would want to increase the account limit vs removing it all together.

@LisoUseInAIKyrios
Copy link
Contributor

I'm surprised so much stuff is in XML constants.

So, there is no a limit of how many free accounts a user can have? The limit is only on how many accounts can be logged in simultaneously?

Maybe name this Remove login limit or something similar to convey it's login related and not a limit on the accounts per se.

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented May 16, 2025

Deleting the XML entry will probably cause a crash. Maybe set it absurdly high like 100.

@ByteEVM
Copy link
Author

ByteEVM commented May 16, 2025

I'm surprised so much stuff is in XML constants.

So, there is no a limit of how many free accounts a user can have? The limit is only on how many accounts can be logged in simultaneously?

Maybe name this Remove login limit or something similar to convey it's login related and not a limit on the accounts per se.

There's no login restriction if the account has a Paid subscription, so this limit is just for "free" accounts.

They mention having multiple accounts as an "Unauthorized" activity in their Terms of Service section 2.7:

Having multiple free Accounts (e.g. creating bulk signups, creating and/or operating a large number of free Accounts for a single organization or individual);

However, their terms don't set an explicit limit for what they deem a "large number" — and they mention if the usage isn't fraudulent, there is nothing to worry about.

scrazzz
scrazzz previously approved these changes May 18, 2025
@CoderMonkey1956

This comment was marked as off-topic.

@LisoUseInAIKyrios LisoUseInAIKyrios dismissed scrazzz’s stale review May 23, 2025 19:58

spam "approvals" are not needed

@Nuckyz
Copy link
Member

Nuckyz commented May 24, 2025

A patch for changing the max limit seems a bit strange. Ideally this patch should simply remove the limit by using the integer max value or use a bytecode patch to noop where the limit is checked. In my opinion a bytecode patch should be considered because the app is not obfuscated and very easy to fingerprint the required method.

Copy link
Contributor

@scrazzz scrazzz left a comment

Choose a reason for hiding this comment

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

I feel like this is a better approach

@ByteEVM ByteEVM changed the title feat(Proton Mail): Add Change free accounts limit patch feat(Proton Mail): Add Remove free accounts limit patch May 28, 2025
@ByteEVM
Copy link
Author

ByteEVM commented May 28, 2025

@scrazzz I have applied your suggestions along renaming to new references.

@ByteEVM
Copy link
Author

ByteEVM commented May 30, 2025

@oSumAtrIX Renaming has been applied globally

@oSumAtrIX oSumAtrIX merged commit b0440ad into ReVanced:dev May 30, 2025
Copy link

welcome bot commented May 30, 2025

Thank you for contributing to ReVanced. Join us on Discord to receive a role for your contribution.

@LisoUseInAIKyrios LisoUseInAIKyrios linked an issue May 30, 2025 that may be closed by this pull request
3 tasks
github-actions bot pushed a commit that referenced this pull request May 30, 2025
# [5.26.0-dev.1](v5.25.0...v5.26.0-dev.1) (2025-05-30)

### Features

* **Proton Mail:** Add `Remove free accounts limit` patch ([#4970](#4970)) ([b0440ad](b0440ad))
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.

feat(Proton Mail): Change free accounts limit
7 participants