diff options
Diffstat (limited to 'lib/events/callinviteevent.h')
-rw-r--r-- | lib/events/callinviteevent.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/events/callinviteevent.h b/lib/events/callinviteevent.h index 47362b5c..1b1f4f0f 100644 --- a/lib/events/callinviteevent.h +++ b/lib/events/callinviteevent.h @@ -16,10 +16,7 @@ public: explicit CallInviteEvent(const QString& callId, const int lifetime, const QString& sdp); - int lifetime() const - { - return contentPart<int>("lifetime"_ls); - } // FIXME: Omittable<>? + QUO_CONTENT_GETTER(int, lifetime) // FIXME: Omittable<>? QString sdp() const { return contentPart<QJsonObject>("offer"_ls).value("sdp"_ls).toString(); |