diff --git a/src/components/views/avatars/BaseAvatar.js b/src/components/views/avatars/BaseAvatar.js
index 5862a9d4f1..65730be40b 100644
--- a/src/components/views/avatars/BaseAvatar.js
+++ b/src/components/views/avatars/BaseAvatar.js
@@ -145,17 +145,37 @@ module.exports = React.createClass({
if (imageUrl === this.state.defaultImageUrl) {
const initialLetter = this._getInitialLetter(name);
- return (
-
- {initialLetter}
-
-
+ const textNode = (
+
+ {initialLetter}
+
);
+ const imgNode = (
+
+ );
+ if (onClick != null) {
+ return (
+
+ {textNode}
+ {imgNode}
+
+ );
+ } else {
+ return (
+
+ {textNode}
+ {imgNode}
+
+ );
+ }
}
if (onClick != null) {
return (