diff options
Diffstat (limited to 'room.cpp')
-rw-r--r-- | room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |