mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 03:11:10 +01:00
Fix issue where drafts might not be properly deleted.
This commit is contained in:
committed by
Cody Henthorne
parent
14484deabe
commit
f79b445fdf
@@ -2660,6 +2660,10 @@ public class ConversationActivity extends PassphraseRequiredActivity
|
||||
threadDatabase.update(threadId, false);
|
||||
}
|
||||
|
||||
if (drafts.isEmpty()) {
|
||||
draftDatabase.clearDrafts(threadId);
|
||||
}
|
||||
|
||||
return threadId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user