review: Update signature and keep formatters grouped together

This commit is contained in:
Valere 2026-05-11 10:48:50 +02:00
parent 9b55a1ab03
commit 2d6fc8263e
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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()
) )
} }