aboutsummaryrefslogtreecommitdiff
path: root/lib/events/directchatevent.h
blob: 942edba4375484e22b1737afe37205853b2c3755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 QUOTIENT_API DirectChatEvent : public Event {
public:
    QUO_EVENT(DirectChatEvent, "m.direct")

    explicit DirectChatEvent(const QJsonObject& obj) : Event(typeId(), obj) {}

    QMultiHash<QString, QString> usersToDirectChats() const;
};
} // namespace Quotient