|
|
@ -75,15 +75,15 @@ class StatusContent extends React.PureComponent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
deleteInlineQuote() {
|
|
|
|
stripCompatibilityFeatures() {
|
|
|
|
const node = this.node;
|
|
|
|
const node = this.node;
|
|
|
|
if (!node) return;
|
|
|
|
if (!node) return;
|
|
|
|
|
|
|
|
|
|
|
|
const inlineQuote = node.querySelector('.quote-inline');
|
|
|
|
const inlineQuote = node.querySelector('.quote-inline');
|
|
|
|
|
|
|
|
const inlineRecipients = node.querySelector('.recipients-inline');
|
|
|
|
|
|
|
|
|
|
|
|
if (inlineQuote) {
|
|
|
|
if (inlineQuote) inlineQuote.remove();
|
|
|
|
inlineQuote.remove();
|
|
|
|
if (inlineRecipients) inlineRecipients.remove();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
setCollapse() {
|
|
|
|
setCollapse() {
|
|
|
@ -117,7 +117,7 @@ class StatusContent extends React.PureComponent {
|
|
|
|
refresh = () => {
|
|
|
|
refresh = () => {
|
|
|
|
this.setCollapse();
|
|
|
|
this.setCollapse();
|
|
|
|
this._updateStatusLinks();
|
|
|
|
this._updateStatusLinks();
|
|
|
|
this.deleteInlineQuote();
|
|
|
|
this.stripCompatibilityFeatures();
|
|
|
|
this.setOnlyEmoji();
|
|
|
|
this.setOnlyEmoji();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|