Rename processMessageItem to simple format

This commit is contained in:
Benoit Marty 2023-05-16 12:23:45 +02:00 committed by Benoit Marty
parent abf7089cea
commit a5fc4ffe84
5 changed files with 86 additions and 85 deletions

View file

@ -200,7 +200,7 @@ class RoomListPresenter @Inject constructor(
hasUnread = roomSummary.details.unreadNotificationCount > 0,
timestamp = lastMessageTimestampFormatter.format(roomSummary.details.lastMessageTimestamp),
lastMessage = roomSummary.details.lastMessage?.let { message ->
roomLastMessageFormatter.processMessageItem(message.event, roomSummary.details.isDirect)
roomLastMessageFormatter.format(message.event, roomSummary.details.isDirect)
}.orEmpty(),
avatarData = avatarData,
)