Missing ?

This commit is contained in:
Valere 2019-07-01 20:54:42 +02:00
parent f9880283e9
commit ce9fa15bcb

View File

@ -203,7 +203,7 @@ class BugReporter @Inject constructor(private val activeSessionHolder: ActiveSes
var userId = "undefined" var userId = "undefined"
var olmVersion = "undefined" var olmVersion = "undefined"


activeSessionHolder.getSafeActiveSession().let { session -> activeSessionHolder.getSafeActiveSession()?.let { session ->
userId = session.sessionParams.credentials.userId userId = session.sessionParams.credentials.userId
deviceId = session.sessionParams.credentials.deviceId ?: "undefined" deviceId = session.sessionParams.credentials.deviceId ?: "undefined"
olmVersion = session.getCryptoVersion(context, true) olmVersion = session.getCryptoVersion(context, true)