aboutsummaryrefslogtreecommitdiff
path: root/lib/events/eventloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/eventloader.h')
-rw-r--r--lib/events/eventloader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/eventloader.h b/lib/events/eventloader.h
index fe624d70..c7b82e8e 100644
--- a/lib/events/eventloader.h
+++ b/lib/events/eventloader.h
@@ -29,7 +29,7 @@ template <typename BaseEventT>
inline event_ptr_tt<BaseEventT> loadEvent(const QString& matrixType,
const QJsonObject& content)
{
- return doLoadEvent<BaseEventT>(basicEventJson(matrixType, content),
+ return doLoadEvent<BaseEventT>(Event::basicJson(matrixType, content),
matrixType);
}
@@ -44,7 +44,7 @@ inline StateEventPtr loadStateEvent(const QString& matrixType,
const QString& stateKey = {})
{
return doLoadEvent<StateEventBase>(
- basicStateEventJson(matrixType, content, stateKey), matrixType);
+ StateEventBase::basicJson(matrixType, content, stateKey), matrixType);
}
template <typename EventT>