mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 17:38:04 +01:00
Convert AccountBadge to a record
This commit is contained in:
committed by
Jon Chambers
parent
c2270e57df
commit
865e3c5bde
@@ -114,7 +114,7 @@ public record AccountDataReportResponse(UUID reportId,
|
||||
boolean visible) {
|
||||
|
||||
public BadgeDataReport(AccountBadge badge) {
|
||||
this(badge.getId(), badge.getExpiration(), badge.isVisible());
|
||||
this(badge.id(), badge.expiration(), badge.visible());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user