mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 07:58:05 +01:00
Rename id to name in the configuration
This commit is contained in:
@@ -44,7 +44,7 @@ public class ConfiguredProfileBadgeConverter implements ProfileBadgeConverter {
|
||||
final ResourceBundleFactory resourceBundleFactory) {
|
||||
this.clock = clock;
|
||||
this.knownBadges = badgesConfiguration.getBadges().stream()
|
||||
.collect(Collectors.toMap(BadgeConfiguration::getName, Function.identity()));
|
||||
.collect(Collectors.toMap(BadgeConfiguration::getId, Function.identity()));
|
||||
this.resourceBundleFactory = resourceBundleFactory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user