aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 580d04b8..23fb19db 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -2173,10 +2173,11 @@ Room::Changes Room::processStateEvent(const RoomEvent& e)
}
, [this] (const EncryptionEvent&) {
emit encryption(); // It can only be done once, so emit it here.
- return EncryptionOn;
+ return OtherChange;
}
, [this] (const RoomTombstoneEvent& evt) {
emit upgraded(evt.serverMessage(), evt.successorRoomId());
+ return OtherChange;
}
);
}