Add deprecation annotation to getIdentityKey

This commit is contained in:
ravi-signal authored and GitHub committed 2026-07-29 15:42:02 -07:00
1 parent 2f1843d5d2
commit f55a0af55e
1 file changed
+2 -1
@@ -389,7 +389,8 @@ public class Account {
///
/// @deprecated Different identity types have significantly differing existence requirements/guarantees
/// for their respective identity keys. Please use [#getAccountIdentityKey()] or
/// [#getPhoneNumberIdentityKeyOptional()] instead.
/// [#getPhoneNumberIdentityKey()] instead.
@Deprecated
public IdentityKey getIdentityKey(final IdentityType identityType) {
requireNotStale();