From 9bc6be8b369223f37db88b0e146e102d2feadf91 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 6 Nov 2023 19:36:41 -0800 Subject: [PATCH] fix up linter issue --- .../java/org/xmtp/android/library/ConversationsTest.kt | 2 -- library/src/main/java/org/xmtp/android/library/ApiClient.kt | 2 -- 2 files changed, 4 deletions(-) diff --git a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt index 7c4d4914f..790ede614 100644 --- a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt +++ b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt @@ -108,8 +108,6 @@ class ConversationsTest { val caroClient = Client().create(caro, clientOptions) val caroConversation = caroClient.conversations.newConversation(alixClient.address) - sleep(2500) - for (i in 0 until 5) { caroConversation.send(text = "Message $i") sleep(1000) diff --git a/library/src/main/java/org/xmtp/android/library/ApiClient.kt b/library/src/main/java/org/xmtp/android/library/ApiClient.kt index 3ff8aaf74..a8a19fe48 100644 --- a/library/src/main/java/org/xmtp/android/library/ApiClient.kt +++ b/library/src/main/java/org/xmtp/android/library/ApiClient.kt @@ -6,11 +6,9 @@ import io.grpc.ManagedChannel import io.grpc.Metadata import io.grpc.TlsChannelCredentials import kotlinx.coroutines.flow.Flow -import kotlinx.coroutines.flow.flowOf import org.xmtp.android.library.messages.Pagination import org.xmtp.android.library.messages.Topic import org.xmtp.proto.message.api.v1.MessageApiGrpcKt -import org.xmtp.proto.message.api.v1.MessageApiOuterClass import org.xmtp.proto.message.api.v1.MessageApiOuterClass.BatchQueryRequest import org.xmtp.proto.message.api.v1.MessageApiOuterClass.BatchQueryResponse import org.xmtp.proto.message.api.v1.MessageApiOuterClass.Cursor