-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to maintain a active main chat list as telegram client? #2430
Comments
Could you log in at https://web.telegram.org to see, whether the chat 2 is present? |
chat 2 is not there both at web & mac telegram. You could reproduce this by steps above, it could 100% be reproduced ... |
I can't reproduce this. When I leave a group from another app, it disappears. Could you reproduce this if the other app is TDLib-based? |
my reproduce step: 1, start this Example java. it will disappear from your side? |
The chat disappears on my side. Could you send full TDLib log to https://t.me/tdlib_bot? For this you need to comment the line, which sets verbosity level to 0:
|
The mentioned issue happens because server doesn't send updates for the chat list change to the app, but some workarounds were added to TDLib to mitigate the issue. |
yes...wait for updates and fix ... |
Hi Team,
we've tried the java example:
td/example/java/org/drinkless/tdlib/example/Example.java
Line 248 in b3ab664
and we make a test scenario:
1, login a new account A without any chats:
2, A send message to a friend and thus a chat 1 is created.
2, A create a basic group with friend and thus chat 2 is created.
3, A delete the chat 1 from mac telegram client ui.
4, now we use gcs, and mainChatList shows a list with size 1 (only chat 2 there), this is correct.
5, At mac telegram client ui, we click to leave group (chat 2). now no more chats on UI.
6, if we use gcs again or even restart this class, it will always return the list with size 1 (chat 2 still there)
7, we even tried to send a GetChats after step 5
but it will still return a result list contains chat 2.
anyone has an idea about this?
The text was updated successfully, but these errors were encountered: