mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fixed a bug where message requests could incorrectly appear in the thread list (#1009)
This commit is contained in:
parent
7a773016da
commit
aecb40cce9
@ -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…
Reference in New Issue
Block a user