forked from Henry-Hiles/nexus
add minimal scroll to message, only when on current timeline
This commit is contained in:
parent
cb22bdc314
commit
9a3f7e9bdc
4 changed files with 22 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue