mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update README
This commit is contained in:
parent
e626cc0390
commit
e5aa10a730
2 changed files with 11 additions and 7 deletions
|
@ -6,22 +6,26 @@ import org.whispersystems.signalservice.api.push.ServiceId;
|
|||
|
||||
public class IdentityInfo {
|
||||
|
||||
private final ServiceId serviceId;
|
||||
private final String name;
|
||||
private final IdentityKey identityKey;
|
||||
private final TrustLevel trustLevel;
|
||||
private final long addedTimestamp;
|
||||
|
||||
IdentityInfo(
|
||||
final ServiceId serviceId, IdentityKey identityKey, TrustLevel trustLevel, long addedTimestamp
|
||||
final String name, IdentityKey identityKey, TrustLevel trustLevel, long addedTimestamp
|
||||
) {
|
||||
this.serviceId = serviceId;
|
||||
this.name = name;
|
||||
this.identityKey = identityKey;
|
||||
this.trustLevel = trustLevel;
|
||||
this.addedTimestamp = addedTimestamp;
|
||||
}
|
||||
|
||||
public ServiceId getServiceId() {
|
||||
return serviceId;
|
||||
return ServiceId.parseOrThrow(name);
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public IdentityKey getIdentityKey() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue