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, 3 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 55923ed8..2d958dca 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1170,7 +1170,10 @@ void Room::updateData(SyncRoomData&& data)
emit notificationCountChanged(this);
}
if (roomChanges != Change::NoChange)
+ {
emit changed(roomChanges);
+ connection()->saveRoomState(this);
+ }
}
QString Room::Private::sendEvent(RoomEventPtr&& event)