aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-09 23:26:24 +0100
committerTobias Fella <fella@posteo.de>2021-12-09 23:59:53 +0100
commit58798ce15f0f235d64f9c34b3f8c013678ebf25f (patch)
treecf52da0354f63c14adc3ea70d3c18e1b2ece15fc /lib/events/roomevent.cpp
parent1f6771c3b14453ae9b6651a9edb1f7778d3f71f3 (diff)
downloadlibquotient-58798ce15f0f235d64f9c34b3f8c013678ebf25f.tar.gz
libquotient-58798ce15f0f235d64f9c34b3f8c013678ebf25f.zip
Ifdef all the things
Diffstat (limited to 'lib/events/roomevent.cpp')
-rw-r--r--lib/events/roomevent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp
index b99d1381..dbce2255 100644
--- a/lib/events/roomevent.cpp
+++ b/lib/events/roomevent.cpp
@@ -127,6 +127,7 @@ CallEventBase::CallEventBase(Event::Type type, const QJsonObject& json)
qCWarning(EVENTS) << id() << "is a call event with an empty call id";
}
+#ifdef Quotient_E2EE_ENABLED
void RoomEvent::setOriginalEvent(event_ptr_tt<RoomEvent> originalEvent)
{
_originalEvent = std::move(originalEvent);
@@ -139,3 +140,4 @@ const QJsonObject RoomEvent::encryptedJson() const
}
return _originalEvent->fullJson();
}
+#endif