aboutsummaryrefslogtreecommitdiff
path: root/lib/events/stateevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/stateevent.cpp')
-rw-r--r--lib/events/stateevent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/events/stateevent.cpp b/lib/events/stateevent.cpp
index ea7533c5..280c334c 100644
--- a/lib/events/stateevent.cpp
+++ b/lib/events/stateevent.cpp
@@ -31,6 +31,8 @@ bool StateEventBase::repeatsState() const
void StateEventBase::dumpTo(QDebug dbg) const
{
+ if (!stateKey().isEmpty())
+ dbg << '<' << stateKey() << "> ";
if (unsignedJson().contains(PrevContentKeyL))
dbg << QJsonDocument(unsignedJson()[PrevContentKeyL].toObject())
.toJson(QJsonDocument::Compact) << " -> ";