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) {
|
function _isDmChat(addrTexts) {
|
||||||
if (addrTexts.length === 1 && getAddressType(addrTexts[0])) {
|
if (addrTexts.length === 1 && getAddressType(addrTexts[0]) === 'mx') {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||||
editing: false,
|
editing: false,
|
||||||
inRoom: false,
|
inRoom: false,
|
||||||
onSaveClick: function() {},
|
onSaveClick: function() {},
|
||||||
onCancelClick: function() {},
|
onCancelClick: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,7 @@ class RoomViewStore extends Store {
|
||||||
highlighted: payload.highlighted,
|
highlighted: payload.highlighted,
|
||||||
room_alias: payload.room_alias,
|
room_alias: payload.room_alias,
|
||||||
auto_join: payload.auto_join,
|
auto_join: payload.auto_join,
|
||||||
|
oob_data: payload.oob_data,
|
||||||
});
|
});
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
|
|
Loading…
Reference in a new issue