mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
parent
6bf95a47e3
commit
61277a5397
2 changed files with 6 additions and 2 deletions
|
@ -179,6 +179,11 @@ class SessionCompositionBoxInner extends React.Component<Props, State> {
|
|||
// if number of staged attachment changed, focus the composition box for a more natural UI
|
||||
this.focusCompositionBox();
|
||||
}
|
||||
|
||||
// focus the composition box when user clicks start to reply to a message
|
||||
if (!_.isEqual(prevProps.quotedMessageProps, this.props.quotedMessageProps)) {
|
||||
this.focusCompositionBox();
|
||||
}
|
||||
}
|
||||
|
||||
public render() {
|
||||
|
|
|
@ -41,10 +41,9 @@ import {
|
|||
import { getDecryptedMediaUrl } from '../session/crypto/DecryptedAttachmentsManager';
|
||||
import { IMAGE_JPEG } from '../types/MIME';
|
||||
import { FSv2 } from '../fileserver';
|
||||
import { fromBase64ToArray, fromHexToArray, toHex } from '../session/utils/String';
|
||||
import { fromHexToArray, toHex } from '../session/utils/String';
|
||||
import { SessionButtonColor } from '../components/session/SessionButton';
|
||||
import { perfEnd, perfStart } from '../session/utils/Performance';
|
||||
import { ReplyingToMessageProps } from '../components/session/conversation/SessionCompositionBox';
|
||||
|
||||
export const getCompleteUrlForV2ConvoId = async (convoId: string) => {
|
||||
if (convoId.match(openGroupV2ConversationIdRegex)) {
|
||||
|
|
Loading…
Reference in a new issue