diff --git a/src/components/views/rooms/MemberInfo.js b/src/components/views/rooms/MemberInfo.js
index 2f8bd30a72..e281a93558 100644
--- a/src/components/views/rooms/MemberInfo.js
+++ b/src/components/views/rooms/MemberInfo.js
@@ -629,6 +629,7 @@ module.exports = withMatrixClient(React.createClass({
const member = this.props.member;
let ignoreButton = null;
+ let insertPillButton = null;
let readReceiptButton = null;
// Only allow the user to ignore the user if its not ourselves
@@ -653,21 +654,35 @@ module.exports = withMatrixClient(React.createClass({
});
};
+ const onInsertPillButton = function() {
+ dis.dispatch({
+ action: 'insert_mention',
+ user_id: member.userId,
+ });
+ };
+
readReceiptButton = (