Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
Signed-off-by: rapterjet2004 <[email protected]>
  • Loading branch information
rapterjet2004 authored and mahibi committed Jan 20, 2025
1 parent 771fe29 commit 096c0aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class OfflineFirstChatRepository @Inject constructor(
timeout = 0,
includeLastKnown = false,
setReadMarker = true,
lastKnown = lastKnown.toInt(),
lastKnown = lastKnown.toInt()
)

val networkParams = bundleOf()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ class ConversationsListViewModel @Inject constructor(
repository.getRooms()
}

fun updateRoomMessages(credentials: String, oldList: MutableList<AbstractFlexibleItem<*>>, list: List<ConversationModel>) {
fun updateRoomMessages(
credentials: String,
oldList: MutableList<AbstractFlexibleItem<*>>,
list: List<ConversationModel>
) {
val previous = oldList.associate {
(it as ConversationItem)
val unreadMessages = it.model.unreadMessages
Expand Down Expand Up @@ -121,7 +125,6 @@ class ConversationsListViewModel @Inject constructor(
}
}
}

}

private suspend fun updateRoomMessage(model: ConversationModel, limit: Int, credentials: String, baseUrl: String) {
Expand Down

0 comments on commit 096c0aa

Please sign in to comment.