mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 21:13:17 +01:00
Return a badge with additional properties when fetching your own profile
This commit is contained in:
@@ -117,7 +117,7 @@ class ProfileControllerTest {
|
||||
profilesManager,
|
||||
usernamesManager,
|
||||
dynamicConfigurationManager,
|
||||
(acceptableLanguages, accountBadges) -> List.of(
|
||||
(acceptableLanguages, accountBadges, isSelf) -> List.of(
|
||||
new Badge("TEST", "other", makeURL("https://example.com/badge/test"), "Test Badge", "This badge is in unit tests.")
|
||||
),
|
||||
new BadgesConfiguration(List.of(
|
||||
|
||||
Reference in New Issue
Block a user