diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 537545c904..7f376502d7 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -439,17 +439,6 @@ module.exports = withMatrixClient(React.createClass({ }); }, - onPermalinkShareClicked: function(e) { - // These permalinks are like above, can be opened in new tab/window to matrix.to - // but otherwise fire the ShareDialog as it makes little sense to click permalink - // whilst it is in the current room - e.preventDefault(); - const ShareDialog = sdk.getComponent("dialogs.ShareDialog"); - Modal.createTrackedDialog('share room event dialog', '', ShareDialog, { - target: this.props.mxEvent, - }); - }, - _renderE2EPadlock: function() { const ev = this.props.mxEvent; const props = {onClick: this.onCryptoClicked}; @@ -681,7 +670,7 @@ module.exports = withMatrixClient(React.createClass({ { avatar } { sender }
- + { timestamp } { this._renderE2EPadlock() } @@ -708,7 +697,7 @@ module.exports = withMatrixClient(React.createClass({ { avatar } { sender }
- + { timestamp } { this._renderE2EPadlock() }