From fe088c39c708f3085b7a6ebddc8f892821b37b0c Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 25 Feb 2022 12:52:52 -0500 Subject: [PATCH] Avoid querying conversation size twice. --- .../securesms/conversation/ConversationDataSource.java | 6 ++++-- .../securesms/conversation/ConversationViewModel.java | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationDataSource.java b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationDataSource.java index 4fb285a60..650b86739 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationDataSource.java +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationDataSource.java @@ -46,18 +46,20 @@ class ConversationDataSource implements PagedDataSource