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

This commit is contained in:
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({