Commit Graph

12 Commits

Author SHA1 Message Date
Jorge Martin Espinosa ea17abebf3 Display most recent activity in room list (#220)
* Create `RoomLastMessageFormatter` to produce readable room summaries.

* Add unit tests using Robolectric, fix bugs

* Add changelog

* Move `RoomLastMessageFormatter` back to `impl` module, allow it to receive an `EventTimelineItem` instead of `MessageContent`.
2023-03-20 11:18:25 +01:00
ganfra 86ebcc376d [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Benoit Marty e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Jorge Martin Espinosa 6677f80abe Store session data in a secure way (#98)
* Replace SessionData DataStore with an encrypted SQLite DB.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-02 16:48:54 +01:00
ganfra c362c7b069 Fix test compilation 2023-03-01 11:11:09 +01:00
ganfra a5b5371fb6 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
Benoit Marty 165697a80e Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty 190d20acbe Fix test: also inject timezone to avoid relying on the system timezone. 2023-02-07 10:36:29 +01:00
Benoit Marty 6099fe5df7 Add test for DefaultLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty 6d8e4d9afc Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty ae4237abb5 Create module dateformatter 2023-02-07 10:36:29 +01:00