MessaageSender: use of session protocol for closed groups

This commit is contained in:
Brice
2021-01-14 13:20:18 +11:00
parent 6f22c3d6e3
commit 3357672516
4 changed files with 17 additions and 5 deletions

View File

@@ -272,6 +272,10 @@ class Storage(val context: Context): StorageProtocol {
TODO("Not yet implemented")
}
override fun getLatestClosedGroupEncryptionKeyPair(groupPublicKey: String): ECKeyPair {
TODO("Not yet implemented")
}
override fun setProfileSharing(address: Address, value: Boolean) {
val recipient = Recipient.from(context, address, false)
DatabaseFactory.getRecipientDatabase(context).setProfileSharing(recipient, value)