aboutsummaryrefslogtreecommitdiff
path: root/lib/events/stateevent.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-12 14:56:20 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-12 14:56:20 +0200
commit73167a23212541ff6aeaeb901d7dfe636badc6e8 (patch)
treef889b50746fd393d005552cd6c3580449fc78166 /lib/events/stateevent.cpp
parent607489a2e6a3e3238eac0178f5c7bbc70f178f46 (diff)
parente7dee15531ad357bd33ac546fb1b9332a5c1260c (diff)
downloadlibquotient-73167a23212541ff6aeaeb901d7dfe636badc6e8.tar.gz
libquotient-73167a23212541ff6aeaeb901d7dfe636badc6e8.zip
Merge branch 'kitsune/converters-upgrade' into dev
Diffstat (limited to 'lib/events/stateevent.cpp')
-rw-r--r--lib/events/stateevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/stateevent.cpp b/lib/events/stateevent.cpp
index c343e37f..43dfd6e8 100644
--- a/lib/events/stateevent.cpp
+++ b/lib/events/stateevent.cpp
@@ -21,7 +21,7 @@ StateEventBase::StateEventBase(Event::Type type, event_mtype_t matrixType,
bool StateEventBase::repeatsState() const
{
- const auto prevContentJson = unsignedPart(PrevContentKeyL);
+ const auto prevContentJson = unsignedPart<QJsonObject>(PrevContentKeyL);
return fullJson().value(ContentKeyL) == prevContentJson;
}