Missed a _isDmChat call when refactoring

This commit is contained in:
wmwragg 2016-09-14 15:19:57 +01:00
parent c3566e0b49
commit d3a709f98e

View file

@ -83,7 +83,7 @@ module.exports = React.createClass({
} }
if (inviteList.length > 0) { if (inviteList.length > 0) {
if (this._isDmChat()) { if (this._isDmChat(inviteList)) {
// Direct Message chat // Direct Message chat
var room = this._getDirectMessageRoom(inviteList[0]); var room = this._getDirectMessageRoom(inviteList[0]);
if (room) { if (room) {