Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2017-09-13 17:06:35 +00:00
commit 0f18528415
1 changed files with 1 additions and 1 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;