Fix compilation warnings.

This commit is contained in:
Benoit Marty 2023-05-23 11:56:08 +02:00
parent 8beb7310ef
commit f1bd767112
3 changed files with 4 additions and 3 deletions

View file

@ -105,9 +105,6 @@ class DefaultPushHandler @Inject constructor(
Timber.tag(loggerTag.value).d("## handleInternal()")
}
pushData.roomId ?: return
pushData.eventId ?: return
val clientSecret = pushData.clientSecret
val userId = if (clientSecret == null) {
// Should not happen. In this case, restore default session