Skip to content

Conversation

@SessionHero01
Copy link
Collaborator

@SessionHero01 SessionHero01 commented Nov 13, 2025

Changes in this PR:

  1. RecipientRepository will now incorporate the pro into its flow: it will find way to calculate whether the user is pro, and whether we should show pro badge to user. All listeners of the recipient flow will now get reactive updates about pro. Right now we are still waiting on the logic from config side to actually pull the data.
  2. Renamed a few models
  3. Added a ProStatePoller which will be responsible for periodic polling of pro details and revocations.
  4. Added a ProDatabase to store pro related state, including the revocation list, last details, etc.
  5. Added an API layer for pro related API
  6. Added new db columns for future integration

# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/auth/LoggedInState.kt
#	app/src/main/java/org/thoughtcrime/securesms/auth/LoginStateRepository.kt
#	app/src/main/java/org/thoughtcrime/securesms/pro/ProStatusManager.kt
#	gradle/libs.versions.toml
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt
@SessionHero01 SessionHero01 marked this pull request as ready for review November 14, 2025 04:49
@SessionHero01 SessionHero01 merged commit ad82bf7 into dev Nov 16, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the pro-in-message branch November 16, 2025 23:21
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