Skip to content

Commit

Permalink
feat: support batch queries
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jun 2, 2023
1 parent 7e32070 commit ccbf23c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class XMTPModule : Module() {
}
}

AsyncFunction("loadMessages") { clientAddress: String, topics: List<String>, limit: Int?, before: Long?, after: Long? ->
AsyncFunction("loadMessages") { clientAddress: String, topics: List<String>, conversationIDs: List<String?>, limit: Int?, before: Long?, after: Long? ->
logV("loadMessages")
val client = clients[clientAddress] ?: throw XMTPException("No client")
val beforeDate = if (before != null) Date(before) else null
Expand Down

0 comments on commit ccbf23c

Please sign in to comment.