review: Update signature and keep formatters grouped together
This commit is contained in:
parent
9b55a1ab03
commit
2d6fc8263e
2 changed files with 3 additions and 3 deletions
|
|
@ -54,8 +54,8 @@ class DefaultRoomLatestEventFormatter(
|
||||||
private val roomMembershipContentFormatter: RoomMembershipContentFormatter,
|
private val roomMembershipContentFormatter: RoomMembershipContentFormatter,
|
||||||
private val profileChangeContentFormatter: ProfileChangeContentFormatter,
|
private val profileChangeContentFormatter: ProfileChangeContentFormatter,
|
||||||
private val stateContentFormatter: StateContentFormatter,
|
private val stateContentFormatter: StateContentFormatter,
|
||||||
private val permalinkParser: PermalinkParser,
|
|
||||||
private val rtcNotificationContentFormatter: RtcNotificationContentFormatter,
|
private val rtcNotificationContentFormatter: RtcNotificationContentFormatter,
|
||||||
|
private val permalinkParser: PermalinkParser,
|
||||||
) : RoomLatestEventFormatter {
|
) : RoomLatestEventFormatter {
|
||||||
override fun format(
|
override fun format(
|
||||||
latestEvent: LatestEventValue.Local,
|
latestEvent: LatestEventValue.Local,
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,8 @@ class DefaultRoomLatestEventFormatterTest {
|
||||||
roomMembershipContentFormatter = RoomMembershipContentFormatter(fakeMatrixClient, stringProvider),
|
roomMembershipContentFormatter = RoomMembershipContentFormatter(fakeMatrixClient, stringProvider),
|
||||||
profileChangeContentFormatter = ProfileChangeContentFormatter(stringProvider),
|
profileChangeContentFormatter = ProfileChangeContentFormatter(stringProvider),
|
||||||
stateContentFormatter = StateContentFormatter(stringProvider),
|
stateContentFormatter = StateContentFormatter(stringProvider),
|
||||||
permalinkParser = FakePermalinkParser(),
|
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider),
|
||||||
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider)
|
permalinkParser = FakePermalinkParser()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue