mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Refactor trust command implementation
This commit is contained in:
parent
2ae5297f7d
commit
106af6a801
5 changed files with 64 additions and 105 deletions
|
@ -15,6 +15,7 @@ import org.asamk.signal.manager.api.GroupNotFoundException;
|
|||
import org.asamk.signal.manager.api.GroupPermission;
|
||||
import org.asamk.signal.manager.api.GroupSendingNotAllowedException;
|
||||
import org.asamk.signal.manager.api.Identity;
|
||||
import org.asamk.signal.manager.api.IdentityVerificationCode;
|
||||
import org.asamk.signal.manager.api.InactiveGroupLinkException;
|
||||
import org.asamk.signal.manager.api.InvalidDeviceLinkException;
|
||||
import org.asamk.signal.manager.api.InvalidStickerException;
|
||||
|
@ -667,20 +668,9 @@ public class DbusManagerImpl implements Manager {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean trustIdentityVerified(final RecipientIdentifier.Single recipient, final byte[] fingerprint) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean trustIdentityVerifiedSafetyNumber(
|
||||
final RecipientIdentifier.Single recipient, final String safetyNumber
|
||||
) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean trustIdentityVerifiedSafetyNumber(
|
||||
final RecipientIdentifier.Single recipient, final byte[] safetyNumber
|
||||
public boolean trustIdentityVerified(
|
||||
final RecipientIdentifier.Single recipient,
|
||||
final IdentityVerificationCode verificationCode
|
||||
) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue