Skip to content

Commit

Permalink
feat(rust): Replace Entries by EntriesWithDynamicAdapters.
Browse files Browse the repository at this point in the history
This `Entries` method is being removed from the FFI API, so I'm updating
this project.
  • Loading branch information
Hywan committed Sep 16, 2024
1 parent 45a7c16 commit aae7f74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/api/rust/rust.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ func (c *RustClient) StartSyncing(t ct.TestLike) (stopSyncing func(), err error)
}
}
}()
c.allRooms.Entries(allRoomsListener)
entriesAdapters := c.allRooms.EntriesWithDynamicAdapters(1000, allRoomsListener)
entriesAdapters.Controller().SetFilter(matrix_sdk_ffi.RoomListEntriesDynamicFilterKindNonLeft{})
// TODO: what to do with `entriesAdapters`?

isSyncing := false

Expand Down

0 comments on commit aae7f74

Please sign in to comment.