Open
Conversation
WofWca
requested changes
Apr 21, 2026
| listFlags={C.DC_GCL_FOR_FORWARDING | C.DC_GCL_NO_SPECIALS} | ||
| accountId={targetAccountId} | ||
| accountSwitch={accountSwitch} | ||
| key={targetAccountId} |
Member
There was a problem hiding this comment.
This re-introduces the bug that we discussed in #5916 (comment).
Member
Author
There was a problem hiding this comment.
So maybe it's time then to make useLogicVirtualChatList account switch aware. I added a commit that resets the chat cache on account switch
Member
There was a problem hiding this comment.
Why not just wrap the lower part of the SelectChat dialog in key={accountId} again?
Member
There was a problem hiding this comment.
(but yep, then the state of the lower part (useChatList and stuff) would also need be in a separate component)
Member
Author
There was a problem hiding this comment.
Ok I splitted the Select Chat in 2 components now
158a053 to
32be2fc
Compare
32be2fc to
46efb3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #6270