finish i18n, and add a Date Sep to quote if it needs it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-12-15 18:39:01 +00:00
parent 4043ea7d57
commit 0ad0c0e9f7
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
3 changed files with 33 additions and 4 deletions

View file

@ -208,7 +208,8 @@ module.exports = React.createClass({
// only allow this branch if we're not already in a quote, as fun as infinite nesting is.
const quoteContainer = document.createElement('span');
const quote = <Quote url={href} shouldShowPillAvatar={shouldShowPillAvatar} />;
const quote =
<Quote url={href} parentEv={this.props.mxEvent} shouldShowPillAvatar={shouldShowPillAvatar} />;
ReactDOM.render(quote, quoteContainer);
node.parentNode.replaceChild(quoteContainer, node);