blob: e21437797bce5897c1571240c795a72ab18cbadd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// SPDX-FileCopyrightText: 2018 Kitsune Ral <kitsune-ral@users.sf.net>
// SPDX-License-Identifier: LGPL-2.1-or-later
#pragma once
#include "event.h"
namespace Quotient {
class DirectChatEvent : public Event {
public:
DEFINE_EVENT_TYPEID("m.direct", DirectChatEvent)
explicit DirectChatEvent(const QJsonObject& obj) : Event(typeId(), obj) {}
QMultiHash<QString, QString> usersToDirectChats() const;
};
REGISTER_EVENT_TYPE(DirectChatEvent)
} // namespace Quotient
|