From e98f118245919f8c27cb43f6cb928bc6c3eda52b Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Sun, 20 Oct 2024 08:42:57 -0700 Subject: [PATCH] fix up the linter --- .../androidTest/java/org/xmtp/android/library/GroupTest.kt | 2 +- .../src/main/java/org/xmtp/android/library/Conversations.kt | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt b/library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt index 36f71e6f8..a2eb832f4 100644 --- a/library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt +++ b/library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt @@ -702,7 +702,7 @@ class GroupTest { } Thread.sleep(2500) - runBlocking { dm.send("Should not stream")} + runBlocking { dm.send("Should not stream") } for (i in 0 until 2) { runBlocking { group.send(text = "Message $i") } Thread.sleep(100) diff --git a/library/src/main/java/org/xmtp/android/library/Conversations.kt b/library/src/main/java/org/xmtp/android/library/Conversations.kt index a998cdad4..3736bbe91 100644 --- a/library/src/main/java/org/xmtp/android/library/Conversations.kt +++ b/library/src/main/java/org/xmtp/android/library/Conversations.kt @@ -2,15 +2,11 @@ package org.xmtp.android.library import android.util.Log import com.google.protobuf.kotlin.toByteString -import kotlinx.coroutines.async -import kotlinx.coroutines.awaitAll import kotlinx.coroutines.channels.awaitClose -import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.callbackFlow import kotlinx.coroutines.flow.merge import kotlinx.coroutines.launch -import kotlinx.coroutines.runBlocking import org.xmtp.android.library.GRPCApiClient.Companion.makeQueryRequest import org.xmtp.android.library.Util.Companion.envelopeFromFFi import org.xmtp.android.library.libxmtp.MessageV3