mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 13:47:20 +00:00
Fix path rebuilding
This commit is contained in:
parent
d26712bdb4
commit
fcc6304247
@ -137,7 +137,7 @@ class LokiAPIDatabase(context: Context, helper: SQLCipherOpenHelper) : Database(
|
|||||||
return listOf( listOf( path0Snode0, path0Snode1, path0Snode2 ), listOf( path1Snode0, path1Snode1, path1Snode2 ) )
|
return listOf( listOf( path0Snode0, path0Snode1, path0Snode2 ), listOf( path1Snode0, path1Snode1, path1Snode2 ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
fun clearOnionRequestPaths() {
|
override fun clearOnionRequestPaths() {
|
||||||
val database = databaseHelper.writableDatabase
|
val database = databaseHelper.writableDatabase
|
||||||
fun delete(indexPath: String) {
|
fun delete(indexPath: String) {
|
||||||
database.delete(onionRequestPathTable, "${Companion.indexPath} = ?", wrap(indexPath))
|
database.delete(onionRequestPathTable, "${Companion.indexPath} = ?", wrap(indexPath))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user