diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js
index 817fe42e94..77ea8d945a 100644
--- a/src/components/structures/RoomView.js
+++ b/src/components/structures/RoomView.js
@@ -1622,12 +1622,12 @@ module.exports = React.createClass({
let aux = null;
let hideCancel = false;
- if (this.state.forwardingEvent !== null) {
- aux = ;
- } else if (this.state.editingRoomSettings) {
+ if (this.state.editingRoomSettings) {
aux = ;
} else if (this.state.uploadingRoomSettings) {
aux = ;
+ } else if (this.state.forwardingEvent !== null) {
+ aux = ;
} else if (this.state.searching) {
hideCancel = true; // has own cancel
aux = ;