Update CommonClientManager.java, pom.xml, and pom.xml

This commit is contained in:
Andrea Cavalli 2020-11-15 22:42:12 +01:00
parent 356e235beb
commit 8bec749d64
3 changed files with 1 additions and 5 deletions

View File

@ -35,7 +35,7 @@ public abstract class CommonClientManager {
private static TelegramClient create(InternalClient internalClient) {
// Send a dummy request because @levlam is too lazy to fix race conditions in a better way
internalClient.send(new TdApi.GetAuthorizationState(), null, null);
internalClient.send(new TdApi.GetAuthorizationState(), (result) -> {}, ex -> {});
return internalClient;
}
}

View File

@ -55,13 +55,11 @@
<artifactId>tdlib-natives-windows-amd64</artifactId>
<version>${natives-version}</version>
</dependency>
<!-- Travis exploded
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-osx-amd64</artifactId>
<version>${natives-version}</version>
</dependency>
-->
<dependency>
<groupId>it.cavallium</groupId>
<artifactId>concurrent-locks</artifactId>

View File

@ -55,13 +55,11 @@
<artifactId>tdlight-natives-windows-amd64</artifactId>
<version>${natives-version}</version>
</dependency>
<!-- Travis exploded
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-osx-amd64</artifactId>
<version>${natives-version}</version>
</dependency>
-->
<dependency>
<groupId>it.cavallium</groupId>
<artifactId>concurrent-locks</artifactId>