Skip to content

Commit e823bcc

Browse files
committed
remove the syncing
1 parent 663b32b commit e823bcc

File tree

2 files changed

+2
-1
lines changed
  • library/src

2 files changed

+2
-1
lines changed

library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@ class GroupTest {
122122
)
123123
runBlocking { caroClient.conversations.syncGroups() }
124124
val caroGroup = caroClient.conversations.listGroups().first()
125+
runBlocking { caroGroup.sync() }
125126
assert(caroGroup.isActive())
126127
assert(group.isActive())
127128
group.removeMembers(listOf(caro.walletAddress))
129+
runBlocking { caroGroup.sync() }
128130
assert(group.isActive())
129131
assert(!caroGroup.isActive())
130132
}

library/src/main/java/org/xmtp/android/library/Group.kt

-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class Group(val client: Client, private val libXMTPGroup: FfiGroup) {
129129
}
130130

131131
fun isActive(): Boolean {
132-
runBlocking { libXMTPGroup.sync() }
133132
return libXMTPGroup.isActive()
134133
}
135134

0 commit comments

Comments
 (0)