Skip to content

Commit

Permalink
more lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Dec 20, 2024
1 parent a4abad5 commit 2bd0254
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions library/src/main/java/org/xmtp/android/library/Conversations.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import uniffi.xmtpv3.FfiMessage
import uniffi.xmtpv3.FfiMessageCallback
import uniffi.xmtpv3.FfiPermissionPolicySet
import uniffi.xmtpv3.FfiSubscribeException
import uniffi.xmtpv3.FfiXmtpClient
import uniffi.xmtpv3.org.xmtp.android.library.libxmtp.GroupPermissionPreconfiguration
import uniffi.xmtpv3.org.xmtp.android.library.libxmtp.PermissionPolicySet
import java.util.Date
Expand Down Expand Up @@ -135,11 +134,11 @@ data class Conversations(

// Sync all new and existing conversations data from the network
suspend fun syncAllConversations(consentState: ConsentState? = null): UInt {
return ffiConversations.syncAllConversations(consentState?.let {
ConsentState.toFfiConsentState(
it
)
})
return ffiConversations.syncAllConversations(
consentState?.let {
ConsentState.toFfiConsentState(it)
}
)
}

suspend fun newConversation(peerAddress: String): Conversation {
Expand Down

0 comments on commit 2bd0254

Please sign in to comment.