Skip to content

Conversation

@SessionHero01
Copy link
Collaborator

We currently have MmsSmsDatabase where the MessageRecord gets filled up by a standard unified query into the database.

However I just found out that each database class (SmsDatabase and MmsDatabase) also comes with their duplicated version of query to mimick the unified query, which is very scary to me because we have added a few more things to the unified query and didn't update the duplicated ones. So some of the queries have been missing some data for a while.

This PR removes the separate query that happens on the inidividual database class, now only the MmsSmsDatabase can construct the MessageRecord from the query result.

This is paving way to add the pro_features column into the mix.

@SessionHero01 SessionHero01 merged commit defcd30 into dev Nov 18, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the remove-mms-query branch November 18, 2025 04:45
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