Order tab complete by most recently spoke

Fixes https://github.com/vector-im/vector-web/issues/1741
This commit is contained in:
David Baker 2016-07-14 11:25:45 +01:00
parent a5272542ef
commit 0dde891d4c
2 changed files with 20 additions and 2 deletions

View file

@ -533,7 +533,7 @@ module.exports = React.createClass({
UserProvider.getInstance().setUserList(members);
this.tabComplete.setCompletionList(
MemberEntry.fromMemberList(members).concat(
MemberEntry.fromMemberList(this.state.room, members).concat(
CommandEntry.fromCommands(SlashCommands.getCommandList())
)
);