Skip to content
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

If loading chats twice on different folders --> How does updates / 404 work? #3253

Open
bossdeep opened this issue Feb 21, 2025 · 1 comment

Comments

@bossdeep
Copy link

bossdeep commented Feb 21, 2025

I have 2 chat folders:

  • ChatListMain has 9 chats.
  • ChatListFolder (chat_folder_id: 2) has 4 chats.

Then, I load chats in this sequence:

Loadchats (ChatlistMain) --> 9 chat updates are received (as I expected)
Loadchats (Chatfolder id 2) --> 9 chat updates received (Shouldn't this be 4?)
Loadchats (ChatlistMain) --> 404
Loadchats (Chatfolder id 2) --> 404

Is this expected behaviour?

Thank you @levlam

@levlam
Copy link
Contributor

levlam commented Feb 21, 2025

Yes. 404 is returned for loadChats when all chats from the chat list are known to the app already. updateNewChat can be received any time for any chat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants