niklaslong / matrix-client

An experimental client for Matrix built in Elixir
1 stars 0 forks source link

Store prev_batch per room #11

Open fancycade opened 4 years ago

fancycade commented 4 years ago

On sync calls a prev_batch field is returned at the room level.

Need to store this field then calls to the future function MatrixClient.get_room_messages(pid, room_id) will check for this field in the session state.