mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 05:38:26 +00:00
Minor refactoring
This commit is contained in:
parent
63da8023e7
commit
1e223c90ca
@ -23,7 +23,7 @@ class SharedSenderKeysDatabase(context: Context, helper: SQLCipherOpenHelper) :
|
|||||||
private val messageKeys = "message_keys"
|
private val messageKeys = "message_keys"
|
||||||
@JvmStatic val createClosedGroupRatchetTableCommand
|
@JvmStatic val createClosedGroupRatchetTableCommand
|
||||||
= "CREATE TABLE $closedGroupRatchetTable ($closedGroupPublicKey STRING, $senderPublicKey STRING, $chainKey STRING, " +
|
= "CREATE TABLE $closedGroupRatchetTable ($closedGroupPublicKey STRING, $senderPublicKey STRING, $chainKey STRING, " +
|
||||||
"$keyIndex INTEGER DEFAULT 0, $messageKeys STRING, PRIMARY KEY ($closedGroupPublicKey, $senderPublicKey));"
|
"$keyIndex INTEGER DEFAULT 0, $messageKeys TEXT, PRIMARY KEY ($closedGroupPublicKey, $senderPublicKey));"
|
||||||
// Private keys
|
// Private keys
|
||||||
private val closedGroupPrivateKeyTable = "closed_group_private_key_table"
|
private val closedGroupPrivateKeyTable = "closed_group_private_key_table"
|
||||||
private val closedGroupPrivateKey = "closed_group_private_key"
|
private val closedGroupPrivateKey = "closed_group_private_key"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user