Merge remote-tracking branch 'origin/develop' into dbkr/fix_slash_join
This commit is contained in:
commit
f3a4856593
3 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
|||
editing: false,
|
||||
inRoom: false,
|
||||
onSaveClick: function() {},
|
||||
onCancelClick: function() {},
|
||||
onCancelClick: null,
|
||||
};
|
||||
},
|
||||
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue