Adapt to libQuotient API changes

This commit is contained in:
Tobias Fella
2022-09-05 20:37:55 +02:00
parent 14e57e7833
commit 2318fb95d9
3 changed files with 20 additions and 4 deletions

View File

@@ -14,7 +14,11 @@ namespace Quotient
class StickerEvent : public RoomEvent
{
public:
#ifdef QUOTIENT_07
QUO_EVENT(StickerEvent, "m.sticker")
#else
DEFINE_EVENT_TYPEID("m.sticker", StickerEvent)
#endif
explicit StickerEvent(const QJsonObject &obj);