diff --git a/src/components/views/dialogs/ChatInviteDialog.js b/src/components/views/dialogs/ChatInviteDialog.js index f797131814..1c8f95f6d8 100644 --- a/src/components/views/dialogs/ChatInviteDialog.js +++ b/src/components/views/dialogs/ChatInviteDialog.js @@ -83,7 +83,7 @@ module.exports = React.createClass({ } if (inviteList.length > 0) { - if (this._isDmChat()) { + if (this._isDmChat(inviteList)) { // Direct Message chat var room = this._getDirectMessageRoom(inviteList[0]); if (room) {