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

pull/21833/head
David Baker 2017-09-14 23:09:26 +01:00
commit f3a4856593
3 changed files with 3 additions and 2 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;

View File

@ -56,7 +56,7 @@ module.exports = React.createClass({
editing: false,
inRoom: false,
onSaveClick: function() {},
onCancelClick: function() {},
onCancelClick: null,
};
},

View File

@ -158,6 +158,7 @@ class RoomViewStore extends Store {
highlighted: payload.highlighted,
room_alias: payload.room_alias,
auto_join: payload.auto_join,
oob_data: payload.oob_data,
});
}, (err) => {
dis.dispatch({