Reset quotingEvent on Room Change because inideal UX

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-01-22 14:45:04 +00:00
parent c090c2e7df
commit 37dcb33b15
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

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) {