Skip to content

Commit 706d91f

Browse files
tobiasKaminskyariedov
authored andcommitted
fix build
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent b4c0b5e commit 706d91f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,6 @@ class ChatActivity :
264264
SystemMessageInterface,
265265
CallStartedMessageInterface {
266266

267-
companion object {
268-
private const val NOTIFICATION_LEVEL_ALWAYS = 1
269-
private const val NOTIFICATION_LEVEL_NEVER = 3
270-
}
271-
272267
var active = false
273268

274269
private lateinit var binding: ActivityChatBinding
@@ -4610,6 +4605,8 @@ class ChatActivity :
46104605
private const val FIVE_MINUTES_IN_SECONDS: Long = 300
46114606
private const val ROOM_TYPE_ONE_TO_ONE = "1"
46124607
private const val ACTOR_TYPE = "users"
4608+
private const val NOTIFICATION_LEVEL_ALWAYS = 1
4609+
private const val NOTIFICATION_LEVEL_NEVER = 3
46134610
const val CONVERSATION_INTERNAL_ID = "CONVERSATION_INTERNAL_ID"
46144611
const val NO_OFFLINE_MESSAGES_FOUND = "NO_OFFLINE_MESSAGES_FOUND"
46154612
const val VOICE_MESSAGE_CONTINUOUS_BEFORE = -5

app/src/main/java/com/nextcloud/talk/conversationlist/viewmodels/ConversationsListViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class ConversationsListViewModel @Inject constructor(
150150
followedThreadsExistNew.toString(),
151151
""
152152
)
153-
} catch (exception: Throwable) {
153+
} catch (exception: Exception) {
154154
_threadsExistState.value = ThreadsExistUiState.Error(exception)
155155
}
156156
}

0 commit comments

Comments
 (0)