Fix compilation warnings.

This commit is contained in:
Benoit Marty
2023-05-23 11:56:08 +02:00
parent d6e60de4ec
commit a2f2cd28f9
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