File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
app/src/main/java/org/thoughtcrime/securesms/database Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -654,10 +654,8 @@ class MmsDatabase @Inject constructor(
654
654
linkPreviews = retrieved.linkPreviews,
655
655
contentValues = contentValues,
656
656
)
657
- if (retrieved.messageContent !is DisappearingMessageUpdate ) {
658
- if (runThreadUpdate) {
659
- threadDatabase.update(threadId, true )
660
- }
657
+ if (runThreadUpdate) {
658
+ threadDatabase.update(threadId, true )
661
659
}
662
660
return Optional .of(InsertResult (messageId, threadId))
663
661
}
Original file line number Diff line number Diff line change @@ -369,13 +369,6 @@ class RecipientRepository @Inject constructor(
369
369
*/
370
370
@DelicateCoroutinesApi
371
371
fun getRecipientSync (address : Address ): Recipient {
372
- // If we have a cached flow, we can try to grab its current value.
373
- val cached = recipientFlowCache[address]?.get()?.replayCache?.firstOrNull()
374
- if (cached != null ) {
375
- return cached
376
- }
377
-
378
- // Otherwise, we might have to go to the database to get the recipient..
379
372
return fetchRecipient(
380
373
address = address,
381
374
settingsFetcher = recipientSettingsDatabase::getSettings,
You can’t perform that action at this time.
0 commit comments