mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Reset quotingEvent on Room Change because inideal UX
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c090c2e7df
commit
37dcb33b15
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue