File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
app/src/main/java/com/nextcloud/talk
conversationlist/viewmodels Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments