diff --git a/src/molecules/MessageTile.js b/src/molecules/MessageTile.js
index 9956ace8..d789c2e9 100644
--- a/src/molecules/MessageTile.js
+++ b/src/molecules/MessageTile.js
@@ -20,7 +20,7 @@ module.exports = React.createClass({
return (
- :
+ :
);
diff --git a/src/molecules/SenderProfile.js b/src/molecules/SenderProfile.js
index 4481e465..517233c1 100644
--- a/src/molecules/SenderProfile.js
+++ b/src/molecules/SenderProfile.js
@@ -2,10 +2,11 @@ var React = require('react');
module.exports = React.createClass({
render: function() {
- var member = this.props.memberName;
+ var mxEvent = this.props.mxEvent;
+ var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
return (
- {member}
+ {name}
);
},