From d3a709f98e733de83f712b2aba5db46c2a53f33a Mon Sep 17 00:00:00 2001 From: wmwragg Date: Wed, 14 Sep 2016 15:19:57 +0100 Subject: [PATCH] Missed a _isDmChat call when refactoring --- src/components/views/dialogs/ChatInviteDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {