Skip to content

Conversation

@SessionHero01
Copy link
Collaborator

@SessionHero01 SessionHero01 commented Nov 19, 2025

This PR:

  1. Removes the existing MessageProFeature in favor of the libsession-util-android's ProFeature, and adjusts the UI code accordingly
  2. Tidies up the Message(s) family to remove unused properties
  3. Also adds dependency injection to some classes

if(message.length > MAX_CHARACTER_REGULAR){
features.add(MessageProFeature.LongMessage)
}
fun calculateMessageProFeatures(isPro: Boolean, shouldShowProBadge: Boolean, message: String) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this supposed to be left there all commented out or can it be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm about to put in real things there soon

Copy link
Collaborator

@ThomasSession ThomasSession left a comment

Choose a reason for hiding this comment

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

Nice clean up

@SessionHero01 SessionHero01 merged commit 7e97f08 into dev Nov 19, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the pro-message-part-3 branch November 19, 2025 04:38
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