Skip to content

Conversation

@ThomasSession
Copy link
Collaborator

Added the preliminary work to integrate Pro Stats
Fixed formatting of chars left in text input
Also added QA tags for CTAs

return count;
}

public int getOutgoingFeatureCount(ProFeature feature) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be ProMessageFeature

Comment on lines 132 to 133
"(($PRO_MESSAGE_FEATURES & $featureMask) != 0 OR " +
" ($PRO_PROFILE_FEATURES & $featureMask) != 0) AND $outgoingSelection"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this query might be incorrect. I don't think you would like to OR these two together because they have completely different meaning

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah yeah of course, as those values might be the same in the two different categories. I'll fix it.


override fun getTotalPinned(): Int {
return configFactory.withUserConfigs {
override suspend fun getTotalPinned(): Int = withContext(Dispatchers.IO) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you need to run config query on a separate thread - it's in memory data anyway

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was for the benefit of having a suspend function for the async thread count, but I can revert that's ok

@ThomasSession ThomasSession merged commit b45a066 into dev Nov 28, 2025
4 checks passed
@ThomasSession ThomasSession deleted the feature/pro-stats branch November 28, 2025 04:37
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