Commit Graph

9 Commits

Author SHA1 Message Date
Andrea Cavalli e0f70138c1 Code cleanup 2021-10-22 12:54:28 +02:00
Andrea Cavalli f46bcd6a1d Call GetVersion() instead of GetAuthorizationState()
👀
2021-10-21 18:56:48 +02:00
Andrea Cavalli 6558bd9ba9 Performance optimization
Reuse the same arrays
Clear only the range that needs to be cleared
Reduce the MAX_EVENTS constant to 100
2021-10-21 09:52:59 +02:00
Andrea Cavalli 646330ae19 Use generics to check tdlib functions return types 2021-10-20 23:51:06 +02:00
Andrea Cavalli aa1d93d97a Configurable shutdown hook 2021-10-06 20:43:57 +02:00
Andrea Cavalli c39f101002 Close the clients when the JVM is shutting down 2021-10-06 20:39:53 +02:00
Andrea Cavalli 688076ff00 Bugfixes 2021-09-27 20:22:57 +02:00
Andrea Cavalli 55436cd354 TDLight Java 2 2021-09-27 19:27:13 +02:00
Andrea Cavalli 69e8e744cf Refactor internal classes 2021-04-07 19:48:10 +02:00