blob: e4d9bb78ffbc1a9f729e04268a126292fe1bb96f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// SPDX-FileCopyrightText: 2017 Marius Gripsgard <marius@ubports.com>
// SPDX-FileCopyrightText: 2018 Josip Delic <delijati@googlemail.com>
// SPDX-License-Identifier: LGPL-2.1-or-later
#pragma once
#include "roomevent.h"
namespace Quotient {
class QUOTIENT_API CallHangupEvent : public CallEventBase {
public:
QUO_EVENT(CallHangupEvent, "m.call.hangup")
explicit CallHangupEvent(const QJsonObject& obj)
: CallEventBase(typeId(), obj)
{}
explicit CallHangupEvent(const QString& callId)
: CallEventBase(typeId(), matrixTypeId(), callId, 0)
{}
};
} // namespace Quotient
|