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) {
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user