Remove Universal Expire Timer flag and fix bug with SMS.

This commit is contained in:
Cody Henthorne
2021-06-08 11:20:06 -04:00
committed by GitHub
parent 5e3bbb0e64
commit b6c653ff77
4 changed files with 14 additions and 26 deletions

View File

@@ -102,6 +102,7 @@ class ConversationRepository {
if (SignalStore.settings().getUniversalExpireTimer() != 0 &&
conversationRecipient.getExpireMessages() == 0 &&
!conversationRecipient.isGroup() &&
conversationRecipient.isRegistered() &&
(threadId == -1 || !DatabaseFactory.getMmsSmsDatabase(context).hasMeaningfulMessage(threadId)))
{
showUniversalExpireTimerUpdate = true;