-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use matrix-sdk-ui , To fetch room list service #4615
Comments
Hello, You've a bunch of question, and I'm not sure I understand everything. Let's start with
So, you've to do something like: let (entries, controller) = all_rooms.entries_with_dynamic_adapters(5);
controller.set_filter(…); You can pick a filter from
Well, I don't know, it depends what you're trying to do. |
thanks for info and it's work fine now but does this stream yield automatically when new rooms are added (changes related to rooms) or only will yield when it's called with set_filter add when new set_filter is called new stream is emitted and it's stay's ideal after that, does it wait for future changes related to filter is set and yield it . |
Once a filter is set, the stream gives you continuously updates for the room in the list, be updates of the room info, new rooms etc.
It waits for updates. You've nothing to do rather than waiting for updates. |
but I don't know what mistakes I have been doing and it's unclear how to use the RoomListService ,
Can someone help how to structure and use Matrix-sdk-UI , whether the API will give info to only show the room list to use and with the room_id we have to listen to timeline and update the conversation .
entries.next().await()
returningvec<VectorDiff<Room>>
does I need to store this and use it for every individual room conversation ?for 1st step how to get the Information from this vec<VectorDiff>
Can we we this as discussion thread.
The text was updated successfully, but these errors were encountered: