From b93bf4b27192996a704de9a7cd14c22655a54462 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 28 Jul 2019 19:33:31 -0500 Subject: [PATCH] use identity nickname in composer placeholder instead (custom emoji won't work in placeholder text) --- .../glitch/features/compose/components/compose_form.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js index 56bf616cc..5a1949e90 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js @@ -20,8 +20,8 @@ const messages = defineMessages({ placeholder: { id: 'compose_form.placeholder', defaultMessage: 'Roar shamelessly!' }, placeholder_as: { id: 'compose_form.placeholder_as', - defaultMessage: "Signing as {signature}.\nRoar shamelessly!", - values: {signature: 'yourself'} + defaultMessage: "Signing as {nickname}.\nRoar shamelessly!", + values: {nickname: 'yourself'} }, missingDescriptionMessage: { id: 'confirmations.missing_media_description.message', defaultMessage: 'At least one media attachment is lacking a description. Consider describing all media attachments for the visually impaired before sending your toot.' }, @@ -307,7 +307,7 @@ class ComposeForm extends ImmutablePureComponent { } = this.props; let disabledButton = isSubmitting || isUploading || isChangingUpload || (!text.trim().length && !anyMedia); - let signature = this.props.account.get('signature'); + let nickname = this.props.account.get('identity'); return (
@@ -339,7 +339,7 @@ class ComposeForm extends ImmutablePureComponent {