Fix issue where drafts might not be properly deleted.

This commit is contained in:
Alex Hart
2021-07-07 16:43:24 -03:00
committed by Cody Henthorne
parent 14484deabe
commit f79b445fdf
2 changed files with 11 additions and 2 deletions

View File

@@ -2660,6 +2660,10 @@ public class ConversationActivity extends PassphraseRequiredActivity
threadDatabase.update(threadId, false);
}
if (drafts.isEmpty()) {
draftDatabase.clearDrafts(threadId);
}
return threadId;
}