diff --git a/app/presentation/RoomItem.js b/app/presentation/RoomItem.js
index b69da666..a127a67c 100644
--- a/app/presentation/RoomItem.js
+++ b/app/presentation/RoomItem.js
@@ -87,13 +87,12 @@ export default class RoomItem extends React.PureComponent {
return null;
}
- const { color } = avatarInitialsAndColor(name);
-
if (type === 'd') {
return (
);
}
+ const { color } = avatarInitialsAndColor(name);
return (