diff --git a/frontend/src/components/file-view/participants-list.js b/frontend/src/components/file-view/participants-list.js
index 1277da8333..2a4d6f4ede 100644
--- a/frontend/src/components/file-view/participants-list.js
+++ b/frontend/src/components/file-view/participants-list.js
@@ -37,7 +37,7 @@ class ParticipantsList extends React.Component {
return (
{participants.map((item, index) => {
- return

;
+ return
;
})}
@@ -65,4 +65,38 @@ class ParticipantsList extends React.Component {
ParticipantsList.propTypes = propTypes;
+const ParticipantPropTypes = {
+ index: PropTypes.number.isRequired,
+ item: PropTypes.object.isRequired,
+};
+
+class Participant extends React.Component {
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ showAvatarTooltip: false,
+ };
+ }
+
+ toggleAvatarTooltip = () => {
+ this.setState({ showAvatarTooltip: !this.state.showAvatarTooltip });
+ }
+
+ render() {
+ const { item, index } = this.props;
+ const target = 'participant-avatar-' + index;
+ return (
+
+
+
+ {item.name}
+
+
+ );
+ }
+}
+
+Participant.propTypes = ParticipantPropTypes;
+
export default ParticipantsList;