mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 13:27:59 +01:00
Rename name to id in Account#removeBadge
This commit is contained in:
@@ -328,10 +328,10 @@ public class Account {
|
||||
purgeStaleBadges();
|
||||
}
|
||||
|
||||
public void removeBadge(String name) {
|
||||
public void removeBadge(String id) {
|
||||
requireNotStale();
|
||||
|
||||
badges.removeIf(accountBadge -> Objects.equals(accountBadge.getId(), name));
|
||||
badges.removeIf(accountBadge -> Objects.equals(accountBadge.getId(), id));
|
||||
purgeStaleBadges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user