Fixed a bug where message requests could incorrectly appear in the thread list (#1009)

pull/1011/head
Morgan Pretty 3 years ago committed by GitHub
parent 7a773016da
commit aecb40cce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -670,7 +670,6 @@ class Storage(context: Context, helper: SQLCipherOpenHelper) : Database(context,
val threadId = threadDatabase.getOrCreateThreadIdFor(recipient)
if (contact.didApproveMe == true) {
recipientDatabase.setApprovedMe(recipient, true)
threadDatabase.setHasSent(threadId, true)
}
if (contact.isApproved == true) {
recipientDatabase.setApproved(recipient, true)

Loading…
Cancel
Save