aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/roomevent.cpp')
-rw-r--r--lib/events/roomevent.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp
index bd06f5c5..8928c81c 100644
--- a/lib/events/roomevent.cpp
+++ b/lib/events/roomevent.cpp
@@ -96,22 +96,6 @@ void RoomEvent::dumpTo(QDebug dbg) const
dbg << " (made at " << originTimestamp().toString(Qt::ISODate) << ')';
}
-QJsonObject CallEventBase::basicJson(const QString& matrixType,
- const QString& callId, int version,
- QJsonObject contentJson)
-{
- contentJson.insert(QStringLiteral("call_id"), callId);
- contentJson.insert(QStringLiteral("version"), version);
- return RoomEvent::basicJson(matrixType, contentJson);
-}
-
-CallEventBase::CallEventBase(const QJsonObject& json)
- : RoomEvent(json)
-{
- if (callId().isEmpty())
- qCWarning(EVENTS) << id() << "is a call event with an empty call id";
-}
-
#ifdef Quotient_E2EE_ENABLED
void RoomEvent::setOriginalEvent(event_ptr_tt<RoomEvent>&& originalEvent)
{