// SPDX-FileCopyrightText: 2017 Marius Gripsgard // SPDX-FileCopyrightText: 2018 Josip Delic // SPDX-License-Identifier: LGPL-2.1-or-later #pragma once #include "roomevent.h" namespace Quotient { class CallHangupEvent : public CallEventBase { public: DEFINE_EVENT_TYPEID("m.call.hangup", CallHangupEvent) explicit CallHangupEvent(const QJsonObject& obj) : CallEventBase(typeId(), obj) {} explicit CallHangupEvent(const QString& callId) : CallEventBase(typeId(), matrixTypeId(), callId, 0) {} }; REGISTER_EVENT_TYPE(CallHangupEvent) } // namespace Quotient