Skip to content

Refactor lastEvent

Carl Schwan requested to merge work/refactor-getlastevent into master

Now lastEvent return the last event and lastActiveTime and lastEventToString are convenient function to get the visual representation and the timestamp.

We are also now fetching new events when the timeline is empty so that we can correctly orders the rooms. In the future we should probably cache the last event instead in a sqlite database to optimize the startup time.

Edited by Carl Schwan

Merge request reports

Loading