fix: closed groups now propagate properly without self-sends

This commit is contained in:
jubb
2021-02-10 17:57:08 +11:00
parent e62eb819c9
commit fd0596f9ea
8 changed files with 30 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ import org.session.libsignal.service.api.crypto.UnidentifiedAccessPair
object UnidentifiedAccessUtil {
private val TAG = UnidentifiedAccessUtil::class.simpleName
private val sodium = LazySodiumAndroid(SodiumAndroid())
private val sodium by lazy { LazySodiumAndroid(SodiumAndroid()) }
fun getAccessFor(recipientPublicKey: String): UnidentifiedAccessPair? {
try {