|
|
|
@ -7,6 +7,7 @@ import DisplayName from '../../../components/display_name';
|
|
|
|
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
|
|
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
|
|
|
|
import { isRtl } from '../../../rtl';
|
|
|
|
|
import AttachmentList from 'mastodon/components/attachment_list';
|
|
|
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
|
cancel: { id: 'reply_indicator.cancel', defaultMessage: 'Cancel' },
|
|
|
|
@ -60,6 +61,13 @@ class ReplyIndicator extends ImmutablePureComponent {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className='reply-indicator__content' style={style} dangerouslySetInnerHTML={content} />
|
|
|
|
|
|
|
|
|
|
{status.get('media_attachments').size > 0 && (
|
|
|
|
|
<AttachmentList
|
|
|
|
|
compact
|
|
|
|
|
media={status.get('media_attachments')}
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|