adding some crashfixes

This commit is contained in:
tibbi 2020-12-21 11:38:57 +01:00
parent 35bbd27d42
commit f412f401d3
6 changed files with 16 additions and 9 deletions

View file

@ -99,7 +99,7 @@ class ThreadActivity : SimpleActivity() {
}
private fun setupThread() {
val privateCursor = getMyContactsCursor().loadInBackground()
val privateCursor = getMyContactsCursor()?.loadInBackground()
ensureBackgroundThread {
messages = getMessages(threadId)
participants = if (messages.isEmpty()) {