Skip to content

Commit 17c4839

Browse files
committed
only show reply button on REAL (not pending) m.room.message events
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 56300f9 commit 17c4839

1 file changed

Lines changed: 8 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.

0 commit comments

Comments
 (0)