Bugfix
This commit is contained in:
parent
4f3c8cb6b7
commit
ca67a5620b
@ -26,7 +26,7 @@
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-java</artifactId>
|
||||
<version>2.7.8.39</version>
|
||||
<version>2.7.8.40</version>
|
||||
</dependency>
|
||||
|
||||
<!-- TDLight natives -->
|
||||
|
@ -86,6 +86,7 @@ final class ScannerClientInteraction implements ClientInteraction {
|
||||
System.out.println(QrCodeTerminal.getQr(link));
|
||||
System.out.println();
|
||||
resultCons.accept("");
|
||||
return;
|
||||
case TERMS_OF_SERVICE:
|
||||
TermsOfService tos = ((ParameterInfoTermsOfService) parameterInfo).getTermsOfService();
|
||||
question = "Terms of service:\n\t" + tos.text.text;
|
||||
@ -98,6 +99,7 @@ final class ScannerClientInteraction implements ClientInteraction {
|
||||
} else {
|
||||
System.out.println(question);
|
||||
resultCons.accept("");
|
||||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user