aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/encryptedevent.h')
-rw-r--r--lib/events/encryptedevent.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/events/encryptedevent.h b/lib/events/encryptedevent.h
index ddd5e415..22e51cb8 100644
--- a/lib/events/encryptedevent.h
+++ b/lib/events/encryptedevent.h
@@ -27,7 +27,7 @@ namespace Quotient {
*/
class QUOTIENT_API EncryptedEvent : public RoomEvent {
public:
- DEFINE_EVENT_TYPEID("m.room.encrypted", EncryptedEvent)
+ QUO_EVENT(EncryptedEvent, "m.room.encrypted")
/* In case with Olm, the encrypted content of the event is
* a map from the recipient Curve25519 identity key to ciphertext
@@ -59,6 +59,4 @@ public:
void setRelation(const QJsonObject& relation);
};
-REGISTER_EVENT_TYPE(EncryptedEvent)
-
} // namespace Quotient