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
src/main/java/it/tdlight/common
tdlib
tdlight

View File

@ -35,7 +35,7 @@ public abstract class CommonClientManager {
private static TelegramClient create(InternalClient internalClient) { private static TelegramClient create(InternalClient internalClient) {
// Send a dummy request because @levlam is too lazy to fix race conditions in a better way // 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; return internalClient;
} }
} }

View File

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

View File

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