Mohammad Afshar

Results 10 comments of Mohammad Afshar

hi @ilhamiarie , You should first get `message.getFromId()` to get the sender user ID. Then in our UserHandler when `onUsers()` is triggerred, you look for the user with the same...

This happens a lot for me whenever I'm added to a few groups. Look, in `DifferencesHandler.java:188` you call `onTLChannelDifferences()` and then inside that (`UpdatesHandlerBase.java:508`) you call methods in `DifferencesHandler` again....

I just added `-XSS10M` to run it and I still get stackoverflow after some time. Better than before, but I still have to restart the program after let's say an...

That was a real good hint! Thanks a lot. Actually There were some users with 4-byte UTF-8 characters in their names which mySQL 3-byte UTF-8 can't handle, so they were...

Now I'm sure that I save every user, but I still get the same stackoverflow. It always begins after a few minutes and the difference handler logs super fast like...

Just to provide more details, I'm posting my `onAbsChat` in my ChatHandler: private void onAbsChat(TLAbsChat chat) { try { MyChat current = (MyChat) db.getChatById(chat.getId()); boolean updating = true; if (current...

Here is a sample output from one of my phone numbers which is only joined in a few channels: ``` Nov 23, 2016 8:12:24 AM org.telegram.bot.services.BotLogger info INFO: [DIFFERENCESHANDLER] Getting...

I just checked it with a fresh new phone number. It's OK when there are only a few channels joined. As the number of channels increase, the rate I get...

Thank you @edbrik for the recommendation, but it didn't solve the problem. And I see no reason in nulling the preparedStatement after closing. ``` UPDATE: 114254440 UPDATE: 174387683 UPDATE: 191243967...