From 80277583db978d23bc470072d14846600cf712b6 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 21 Oct 2015 15:05:17 +0100 Subject: [PATCH] Fix timestamp hovers #59 --- src/skins/vector/views/molecules/EventAsTextTile.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/skins/vector/views/molecules/EventAsTextTile.js b/src/skins/vector/views/molecules/EventAsTextTile.js index e8beddf2dc..ce647445a1 100644 --- a/src/skins/vector/views/molecules/EventAsTextTile.js +++ b/src/skins/vector/views/molecules/EventAsTextTile.js @@ -33,10 +33,14 @@ module.exports = React.createClass({ var text = TextForEvent.textForEvent(this.props.mxEvent); if (text == null || text.length == 0) return null; - var timestamp = this.props.last ? : null; + var timestamp = ; var avatar = this.props.mxEvent.sender ? : null; + var cssStyles = "mx_MessageTile mx_MessageTile_notice"; + if (this.props.last) { + cssStyles += " mx_MessageTile_last"; + } return ( -
+
{ avatar }