1 files changed, 1 insertions, 1 deletions
diff --git a/src/EventAccessors.cpp b/src/EventAccessors.cpp
index 888baf5a..62969ed1 100644
--- a/src/EventAccessors.cpp
+++ b/src/EventAccessors.cpp
@@ -461,7 +461,7 @@ mtx::accessors::media_width(const mtx::events::collections::TimelineEvents &even
nlohmann::json
mtx::accessors::serialize_event(const mtx::events::collections::TimelineEvents &event)
{
- return std::visit([](const auto &e) { return nlohmann::json(e); }, event);
+ return nlohmann::json(event);
}
bool
|