diff --git a/app/javascript/mastodon/features/picture_in_picture/components/footer.js b/app/javascript/mastodon/features/picture_in_picture/components/footer.js
index a023c469d..1ecb18bf8 100644
--- a/app/javascript/mastodon/features/picture_in_picture/components/footer.js
+++ b/app/javascript/mastodon/features/picture_in_picture/components/footer.js
@@ -5,9 +5,9 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import IconButton from 'mastodon/components/icon_button';
import classNames from 'classnames';
-import { me, boostModal, show_quote_button } from 'mastodon/initial_state';
+import { me, boostModal } from 'mastodon/initial_state';
import { defineMessages, injectIntl } from 'react-intl';
-import { replyCompose, quoteCompose } from 'mastodon/actions/compose';
+import { replyCompose } from 'mastodon/actions/compose';
import { reblog, favourite, unreblog, unfavourite } from 'mastodon/actions/interactions';
import { makeGetStatus } from 'mastodon/selectors';
import { initBoostModal } from 'mastodon/actions/boosts';
@@ -21,7 +21,6 @@ const messages = defineMessages({
cancel_reblog_private: { id: 'status.cancel_reblog_private', defaultMessage: 'Unboost' },
cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be boosted' },
favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
- bookmark: { id: 'status.bookmark', defaultMessage: 'Bookmark' },
replyConfirm: { id: 'confirmations.reply.confirm', defaultMessage: 'Reply' },
replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' },
open: { id: 'status.open', defaultMessage: 'Expand this status' },
@@ -120,41 +119,12 @@ class Footer extends ImmutablePureComponent {
router.history.push(`/statuses/${status.get('id')}`);
}
- _performQuote = () => {
- const { dispatch, status, onClose } = this.props;
- const { router } = this.context;
-
- if (onClose) {
- onClose();
- }
-
- dispatch(quoteCompose(status, router.history));
- };
-
- handleQuoteClick = () => {
- const { dispatch, askReplyConfirmation, intl } = this.props;
-
- if (askReplyConfirmation) {
- dispatch(openModal('CONFIRM', {
- message: intl.formatMessage(messages.quoteMessage),
- confirm: intl.formatMessage(messages.quoteConfirm),
- onConfirm: this._performQuote,
- }));
- } else {
- this._performQuote();
- }
- }
-
render () {
const { status, intl, withOpenButton } = this.props;
const publicStatus = ['public', 'unlisted'].includes(status.get('visibility'));
const reblogPrivate = status.getIn(['account', 'id']) === me && status.get('visibility') === 'private';
- const expires_at = status.get('expires_at')
- const expires_date = expires_at && new Date(expires_at)
- const expired = expires_date && expires_date.getTime() < intl.now()
-
let replyIcon, replyTitle;
if (status.get('in_reply_to_id', null) === null) {
@@ -182,11 +152,6 @@ class Footer extends ImmutablePureComponent {
-<<<<<<< HEAD
-=======
- {show_quote_button && }
-
->>>>>>> bbeaf126c... Add quote and bookmark button in PiP
{withOpenButton && }
);