Missing ?

This commit is contained in:
Valere 2019-07-01 20:54:42 +02:00
parent f9880283e9
commit ce9fa15bcb
1 changed files with 1 additions and 1 deletions

View File

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

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