rubenlagus / TelegramApi

Java library to create Telegram Clients
MIT License
300 stars 108 forks source link

DifferenceParametersService stores state in static #30

Open Pashnov opened 7 years ago

Pashnov commented 7 years ago

When I ran several clients on the same VM, I got incorrect differences after a while.

As I understood it happens because differenceDatas, loaded are static. I guess, there are one more static fields.

Could you please change them to not-static?