Remove AccountsManager#updateDeviceAsync

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2026-03-05 09:54:05 -05:00
1 parent 8df3f3c150
commit de458c3e6a
3 files changed
-61

No files matched your search

@@ -1110,15 +1110,6 @@ public class AccountsManager extends RedisPubSubAdapter<String, String> implemen
});
}
public CompletableFuture<Account> updateDeviceAsync(final Account account, final byte deviceId,
final Consumer<Device> deviceUpdater) {
return updateAsync(account, a -> {
a.getDevice(deviceId).ifPresent(deviceUpdater);
// assume that all updaters passed to the public method actually modify the device
return true;
});
}
public Optional<Account> getByE164(final String number) {
return getByNumberTimer.record(() -> accounts.getByE164(number));
}