aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index c5c4e721..6e6e7e39 100644
--- a/room.cpp
+++ b/room.cpp
@@ -985,7 +985,7 @@ void appendStateEvent(QJsonArray& events, const QString& type,
QJsonObject eventObj;
eventObj.insert("type", type);
eventObj.insert("content", contentObj);
- eventObj.insert("state_key", ""); // Mandatory for state events
+ eventObj.insert("state_key", {}); // Mandatory for state events
events.append(eventObj);
}