Modifying a frozen class!

This commit is contained in:
Benoit Marty 2022-07-01 18:02:35 +02:00 committed by Benoit Marty
parent 680dc207c0
commit a501f81bbf

View file

@ -112,6 +112,8 @@ internal class OlmInboundGroupSessionWrapper2 : Serializable {
* @return the inbound group session as MegolmSessionData if the operation succeeds
*/
fun exportKeys(index: Long? = null): MegolmSessionData? {
Timber.d("Modifying a frozen class!")
return try {
if (null == forwardingCurve25519KeyChain) {
forwardingCurve25519KeyChain = ArrayList()