Skip to content

Commit fc84456

Browse files
authored
Merge pull request element-hq#5978 from vector-im/t3chguy/nvl/rich_quoting
Iterative fixes on Rich Quoting
2 parents d3811e3 + 5aec684 commit fc84456

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎src/components/views/context_menus/MessageContextMenu.js‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,14 @@ module.exports = React.createClass({
232232
</div>
233233
);
234234

235+
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
236+
replyButton = (
237+
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
238+
{ _t('Reply') }
239+
</div>
240+
);
241+
}
242+
235243
if (this.state.canPin) {
236244
pinButton = (
237245
<div className="mx_MessageContextMenu_field" onClick={this.onPinClick}>
@@ -280,14 +288,6 @@ module.exports = React.createClass({
280288
{ _t('Quote') }
281289
</div>
282290
);
283-
284-
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
285-
replyButton = (
286-
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
287-
{ _t('Reply') }
288-
</div>
289-
);
290-
}
291291
}
292292

293293
// Bridges can provide a 'external_url' to link back to the source.

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_QuotePreview.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
.mx_QuotePreview_cancel {
3030
float: right;
31+
cursor: pointer;
3132
}
3233

3334
.mx_QuotePreview_clear {

0 commit comments

Comments
 (0)