mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Clean up bookkeeping around threads.
This commit is contained in:
@@ -50,7 +50,7 @@ public final class InviteReminderModel {
|
||||
}
|
||||
|
||||
ThreadDatabase threadDatabase = DatabaseFactory.getThreadDatabase(context);
|
||||
long threadId = threadDatabase.getThreadIdFor(recipient);
|
||||
long threadId = threadDatabase.getOrCreateThreadIdFor(recipient);
|
||||
|
||||
MmsSmsDatabase mmsSmsDatabase = DatabaseFactory.getMmsSmsDatabase(context);
|
||||
int conversationCount = mmsSmsDatabase.getInsecureSentCount(threadId);
|
||||
|
||||
Reference in New Issue
Block a user