mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 01:06:50 +00:00
Add deprecation annotation to getIdentityKey
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user