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`.
This commit is contained in:
Jorge Martin Espinosa 2023-03-20 11:18:25 +01:00 committed by GitHub
parent 8064ceb68a
commit ea17abebf3
24 changed files with 1311 additions and 48 deletions

View file

@ -18,6 +18,21 @@
<!-- Create room -->
<string name="search_for_someone">Search for someone</string>
<string name="new_room">New room</string>
<!-- Room list -->
<string name="notice_room_invite_accepted_by_you">You accepted the invite</string>
<string name="notice_room_invite_accepted">%1$s accepted the invite</string>
<string name="notice_room_knock">%1$s requested to join</string>
<string name="notice_room_knock_by_you">You requested to join</string>
<string name="notice_room_knock_accepted">%1$s allowed %2$s to join</string>
<string name="notice_room_knock_accepted_by_you">%1$s allowed you to join</string>
<string name="notice_room_knock_retracted">%1$s is no longer interested in joining</string>
<string name="notice_room_knock_retracted_by_you">You cancelled your request to join</string>
<string name="notice_room_knock_denied">%1$s rejected %2$s\'s request to join</string>
<string name="notice_room_knock_denied_by_you">You rejected %1$s\'s request to join</string>
<string name="notice_room_knock_denied_you">%1$s rejected your request to join</string>
<string name="notice_room_unknown_membership_change">%1$s made an unknown change to their membership</string>
<string name="room_timeline_item_unsupported">Unsupported event</string>
<string name="unknown_message_content_type_error">Event type not handled by EAX</string>
<string name="verification_title_initial">Open an existing session</string>
<string name="verification_title_waiting">Waiting to accept request</string>