Merge branch 'develop' into luke/room-list-flux

This commit is contained in:
Luke Barnard 2018-02-05 11:39:39 +00:00 committed by GitHub
commit ff8fcb3139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 2892 additions and 143 deletions

View file

@ -132,6 +132,8 @@ class RoomViewStore extends Store {
shouldPeek: payload.should_peek === undefined ? true : payload.should_peek,
// have we sent a join request for this room and are waiting for a response?
joining: payload.joining || false,
// Reset quotingEvent because we don't want cross-room because bad UX
quotingEvent: null,
};
if (this._state.forwardingEvent) {

View file

@ -48,7 +48,7 @@ class TagOrderStore extends Store {
switch (payload.action) {
// Initialise state after initial sync
case 'MatrixActions.sync': {
if (!(payload.prevState === 'PREPARED' && payload.state === 'SYNCING')) {
if (!(payload.prevState !== 'PREPARED' && payload.state === 'PREPARED')) {
break;
}
const tagOrderingEvent = payload.matrixClient.getAccountData('im.vector.web.tag_ordering');