oops, add cursor
This commit is contained in:
@@ -675,12 +675,13 @@ export class Convo {
|
|||||||
// use `useListConvoMembersQuery`
|
// use `useListConvoMembersQuery`
|
||||||
// we shouldn't also block loading off of this - the UI should be resilient
|
// we shouldn't also block loading off of this - the UI should be resilient
|
||||||
async fetchMemberList() {
|
async fetchMemberList() {
|
||||||
let cursor
|
let cursor: string | undefined
|
||||||
do {
|
do {
|
||||||
const result = await networkRetry(2, () => {
|
const result = await networkRetry(2, () => {
|
||||||
return this.agent.chat.bsky.convo.getConvoMembers({
|
return this.agent.chat.bsky.convo.getConvoMembers({
|
||||||
convoId: this.convoId,
|
convoId: this.convoId,
|
||||||
limit: 50,
|
limit: 50,
|
||||||
|
cursor,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
cursor = result.data.cursor
|
cursor = result.data.cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user