-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Select chat after forwarding #4029
Conversation
@@ -45,15 +45,14 @@ export default function ForwardMessage(props: Props) { | |||
const chat = await BackendRemote.rpc.getFullChatById(accountId, chatId) | |||
onClose() | |||
if (!chat.isSelfTalk) { | |||
selectChat(accountId, chat.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is there because then you see the chat you are going to forward to, to prevent user mistakes.
In other words this behaviour of opening the chat before confirm and going back if you cancel is intentional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok - that should be worth a line of an explaining comment in the code :-)
So I have to find why the already opened chat is not scrolling down I guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe calling select chat again could already work. or whatever happens when you click again on the chat in the chat-list if you have already selected the chat,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, but I didn't test it
fixes #3834