only show reply button on REAL (not pending) m.room.message events
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
56300f9578
commit
17c4839029
1 changed files with 8 additions and 8 deletions
|
@ -232,6 +232,14 @@ module.exports = React.createClass({
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
|
||||||
|
replyButton = (
|
||||||
|
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
|
||||||
|
{ _t('Reply') }
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (this.state.canPin) {
|
if (this.state.canPin) {
|
||||||
pinButton = (
|
pinButton = (
|
||||||
<div className="mx_MessageContextMenu_field" onClick={this.onPinClick}>
|
<div className="mx_MessageContextMenu_field" onClick={this.onPinClick}>
|
||||||
|
@ -280,14 +288,6 @@ module.exports = React.createClass({
|
||||||
{ _t('Quote') }
|
{ _t('Quote') }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
|
|
||||||
replyButton = (
|
|
||||||
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
|
|
||||||
{ _t('Reply') }
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bridges can provide a 'external_url' to link back to the source.
|
// Bridges can provide a 'external_url' to link back to the source.
|
||||||
|
|
Loading…
Reference in a new issue