Merge branch 'develop' into dbkr/group_userlist

This commit is contained in:
Luke Barnard 2017-09-19 13:26:55 +01:00
commit e9fb5712bd
51 changed files with 890 additions and 333 deletions

View file

@ -127,7 +127,7 @@ function _onRoomInviteFinished(roomId, shouldInvite, addrs) {
}
function _isDmChat(addrTexts) {
if (addrTexts.length === 1 && getAddressType(addrTexts[0])) {
if (addrTexts.length === 1 && getAddressType(addrTexts[0]) === 'mx') {
return true;
} else {
return false;