diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-01-05 18:36:46 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-01-06 10:35:36 +0900 |
commit | e3a048ed3a8a5060affe6fcba1e1867294351177 (patch) | |
tree | ac922f97f6178f441c4acccbf8c1c9573e7cc0b4 /lib/events/roomevent.cpp | |
parent | 9c08bbce341081a8ccbe0fccf48658b3e75e02cf (diff) | |
download | libquotient-e3a048ed3a8a5060affe6fcba1e1867294351177.tar.gz libquotient-e3a048ed3a8a5060affe6fcba1e1867294351177.zip |
RoomEvent: don't log transactionId anymore
It's already logged in Room - actually, several times at different
stages.
Diffstat (limited to 'lib/events/roomevent.cpp')
-rw-r--r-- | lib/events/roomevent.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp index 80d121de..3d03509f 100644 --- a/lib/events/roomevent.cpp +++ b/lib/events/roomevent.cpp @@ -42,10 +42,6 @@ RoomEvent::RoomEvent(Type type, const QJsonObject& json) _redactedBecause = makeEvent<RedactionEvent>(redaction.toObject()); return; } - - const auto& txnId = transactionId(); - if (!txnId.isEmpty()) - qCDebug(EVENTS) << "Event transactionId:" << txnId; } RoomEvent::~RoomEvent() = default; // Let the smart pointer do its job @@ -90,7 +86,6 @@ void RoomEvent::setTransactionId(const QString& txnId) auto unsignedData = fullJson()[UnsignedKeyL].toObject(); unsignedData.insert(QStringLiteral("transaction_id"), txnId); editJson().insert(UnsignedKey, unsignedData); - qCDebug(EVENTS) << "New event transactionId:" << txnId; Q_ASSERT(transactionId() == txnId); } |