mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
fix detekt + add objectId in tests
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
40ffa582e3
commit
d2bb9b6223
@ -215,6 +215,7 @@ class ChatBlocksDaoTest {
|
||||
lobbyState = ConversationEnums.LobbyState.LOBBY_STATE_MODERATORS_ONLY,
|
||||
lobbyTimer = 0,
|
||||
objectType = ConversationEnums.ObjectType.FILE,
|
||||
objectId = "",
|
||||
statusIcon = null,
|
||||
description = "",
|
||||
displayName = "",
|
||||
|
@ -211,6 +211,7 @@ class ChatMessagesDaoTest {
|
||||
lobbyState = ConversationEnums.LobbyState.LOBBY_STATE_MODERATORS_ONLY,
|
||||
lobbyTimer = 0,
|
||||
objectType = ConversationEnums.ObjectType.FILE,
|
||||
objectId = "",
|
||||
statusIcon = null,
|
||||
description = "",
|
||||
displayName = "",
|
||||
|
@ -67,6 +67,7 @@ class ConversationModel(
|
||||
) {
|
||||
|
||||
companion object {
|
||||
@Suppress("LongMethod")
|
||||
fun mapToConversationModel(conversation: Conversation, user: User): ConversationModel {
|
||||
return ConversationModel(
|
||||
internalId = user.id!!.toString() + "@" + conversation.token,
|
||||
|
Loading…
Reference in New Issue
Block a user