Update CommonClientManager.java, pom.xml, and pom.xml
This commit is contained in:
parent
356e235beb
commit
8bec749d64
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user