Skip to content

Commit d89c9de

Browse files
Merge pull request #1381 from JBsesh/fix/ses-3437
SES-3437 : Community Mentions Inconsistent [Update]
2 parents 362b5cd + 56141d9 commit d89c9de

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/src/main/java/org/thoughtcrime/securesms/conversation/v2/mention/MentionViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class MentionViewModel(
111111
}
112112
recipient.isCommunityRecipient -> mmsSmsDatabase.getRecentChatMemberAddresses(
113113
threadID,
114-
20
114+
300
115115
)
116116
recipient.isContactRecipient -> listOf(recipient.address.toString())
117117
else -> listOf()

app/src/test/java/org/thoughtcrime/securesms/conversation/v2/MentionViewModelTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class MentionViewModelTest : BaseViewModelTest() {
116116
threadID = threadID,
117117
application = InstrumentationRegistry.getInstrumentation().context as android.app.Application,
118118
mmsSmsDatabase = mock {
119-
on { getRecentChatMemberAddresses(threadID, 20)} doAnswer {
119+
on { getRecentChatMemberAddresses(eq(threadID), any())} doAnswer {
120120
val limit = it.arguments[1] as Int
121121
threadMembers.take(limit).map { m -> m.pubKey }
122122
}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ buildscript {
1616
// classpath(files("libs/gradle-witness.jar"))
1717
// classpath("com.squareup:javapoet:1.13.0")
1818
if (project.hasProperty("huawei")) {
19-
classpath("com.huawei.agconnect:agcp:1.9.1.300")
19+
classpath("com.huawei.agconnect:agcp:1.9.3.301")
2020
}
2121
}
2222
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ photoviewVersion = "2.3.0"
5454
phraseVersion = "1.2.0"
5555
lifecycleVersion = "2.7.0"
5656
materialVersion = "1.12.0"
57-
mockitoKotlinVersion = "5.4.0"
57+
mockitoKotlinVersion = "6.0.0"
5858
okhttpVersion = "5.1.0"
5959
preferenceVersion = "1.2.1"
6060
protobufVersion = "4.29.3"

0 commit comments

Comments
 (0)