From 23fb711efa1be5e19c7ce97ecb772dcffa872ed8 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:12:06 -0400 Subject: [PATCH] Add matrix account link to create private message form (#2399) --- lemmy-translations | 2 +- .../private_message/private-message-form.tsx | 24 ++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/lemmy-translations b/lemmy-translations index 62c84180..249a8f6c 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 62c8418021bc39543c87b4ae3dcf2419d13f61e0 +Subproject commit 249a8f6cf1911c8b429a36388a2eef8b318386c8 diff --git a/src/shared/components/private_message/private-message-form.tsx b/src/shared/components/private_message/private-message-form.tsx index 1139ade7..3298115a 100644 --- a/src/shared/components/private_message/private-message-form.tsx +++ b/src/shared/components/private_message/private-message-form.tsx @@ -94,6 +94,28 @@ export class PrivateMessageForm extends Component< # + {this.props.recipient.matrix_user_id && ( + <> +   + + # + + # + + # + + + )}
{ + onSubmit={event => { this.handlePrivateMessageSubmit(this, event); }} initialContent={this.state.content}