add minimal scroll to message, only when on current timeline

This commit is contained in:
Henry Hiles 2026-03-12 21:09:11 -04:00
commit 9a3f7e9bdc
No known key found for this signature in database
4 changed files with 22 additions and 9 deletions

View file

@ -167,6 +167,11 @@ class ClientController extends AsyncNotifier<int> {
await _sendCommand("leave_room", {"room_id": room.metadata!.id});
}
// (await _sendCommand("get_event_context", {
// "room_id": request.roomId,
// "event_id": r"$OqZT4NuTj0J1-771IOEEWRI4XdumRNu6ighlvO3K3gc",
// }));
Future<IList<Event>> getRoomState(GetRoomStateRequest request) async {
final response =
(await _sendCommand("get_room_state", request.toJson())) as List;