Skip to content

Commit

Permalink
chore: Update kalium after removing self user creator [WPB-11559]
Browse files Browse the repository at this point in the history
  • Loading branch information
m-zagorski committed Dec 6, 2024
1 parent 3038c25 commit b2555d1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ object TestConversationDetails {

val GROUP = ConversationDetails.Group(
TestConversation.ONE_ON_ONE,
isSelfUserCreator = true,
isSelfUserMember = true,
selfRole = Conversation.Member.Role.Member
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ConversationSheetContentTest {
title = "",
conversationId = details.conversation.id,
mutingConversationState = details.conversation.mutedStatus,
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator),
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false),
selfRole = Conversation.Member.Role.Member,
isTeamConversation = details.conversation.isTeamGroup(),
isArchived = false,
Expand All @@ -57,7 +57,7 @@ class ConversationSheetContentTest {
title = "",
conversationId = details.conversation.id,
mutingConversationState = details.conversation.mutedStatus,
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator),
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false),
selfRole = Conversation.Member.Role.Member,
isTeamConversation = details.conversation.isTeamGroup(),
isArchived = false,
Expand All @@ -80,7 +80,7 @@ class ConversationSheetContentTest {
title = "notEmpty",
conversationId = details.conversation.id,
mutingConversationState = details.conversation.mutedStatus,
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator),
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false),
selfRole = Conversation.Member.Role.Member,
isTeamConversation = details.conversation.isTeamGroup(),
isArchived = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ internal fun mockConversationDetailsGroup(
conversation = TestConversation.GROUP()
.copy(name = conversationName, id = mockedConversationId),
hasOngoingCall = false,
isSelfUserCreator = true,
isSelfUserMember = true,
selfRole = Conversation.Member.Role.Member
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class GroupConversationDetailsViewModelTest {
title = details.conversation.name.orEmpty(),
conversationId = details.conversation.id,
mutingConversationState = details.conversation.mutedStatus,
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator),
conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false),
selfRole = Conversation.Member.Role.Member,
isTeamConversation = details.conversation.isTeamGroup(),
isArchived = false,
Expand Down Expand Up @@ -683,7 +683,6 @@ class GroupConversationDetailsViewModelTest {
legalHoldStatus = Conversation.LegalHoldStatus.ENABLED
),
hasOngoingCall = false,
isSelfUserCreator = false,
isSelfUserMember = true,
selfRole = Conversation.Member.Role.Member
)
Expand Down
2 changes: 1 addition & 1 deletion kalium
Submodule kalium updated 17 files
+1 βˆ’1 .github/workflows/cherry-pick-pr-to-newer-release-cycle.yml
+14 βˆ’1 data/src/commonMain/kotlin/com/wire/kalium/logic/data/call/CallMetadataProfile.kt
+0 βˆ’1 data/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/Conversation.kt
+45 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/call/CallRepository.kt
+0 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationMapper.kt
+154 βˆ’5 logic/src/commonTest/kotlin/com/wire/kalium/logic/data/call/CallRepositoryTest.kt
+0 βˆ’1 .../src/commonTest/kotlin/com/wire/kalium/logic/feature/call/usecase/EndCallOnConversationChangeUseCaseTest.kt
+0 βˆ’2 ...c/src/commonTest/kotlin/com/wire/kalium/logic/feature/conversation/ObserveConversationDetailsUseCaseTest.kt
+0 βˆ’8 ...c/commonTest/kotlin/com/wire/kalium/logic/feature/conversation/ObserveConversationListDetailsUseCaseTest.kt
+0 βˆ’2 logic/src/commonTest/kotlin/com/wire/kalium/logic/framework/TestConversation.kt
+0 βˆ’1 logic/src/commonTest/kotlin/com/wire/kalium/logic/framework/TestConversationDetails.kt
+0 βˆ’4 persistence/src/commonMain/db_user/com/wire/kalium/persistence/ConversationDetails.sq
+127 βˆ’0 persistence/src/commonMain/db_user/migrations/93.sqm
+0 βˆ’2 ...e/src/commonMain/kotlin/com/wire/kalium/persistence/dao/conversation/ConversationDetailsWithEventsMapper.kt
+0 βˆ’2 persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/conversation/ConversationMapper.kt
+0 βˆ’1 persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/conversation/ConversationViewEntity.kt
+0 βˆ’16 persistence/src/commonTest/kotlin/com/wire/kalium/persistence/dao/ConversationDAOTest.kt

0 comments on commit b2555d1

Please sign in to comment.