Add lazy thread creation throughout in preparation for CFV2.

This commit is contained in:
Alex Hart
2023-07-12 15:33:34 -03:00
committed by Clark Chen
parent 6ca9cb6da1
commit 8f253ffc43
24 changed files with 176 additions and 82 deletions

View File

@@ -72,7 +72,7 @@ class ScheduledMessageManager(
@WorkerThread
override fun scheduleAlarm(application: Application, event: Event, delay: Long) {
val conversationIntent = ConversationIntents.createBuilder(application, event.recipientId, event.threadId).build()
val conversationIntent = ConversationIntents.createBuilderSync(application, event.recipientId, event.threadId).build()
trySetExactAlarm(
application,