aboutsummaryrefslogtreecommitdiff
path: root/lib/events/typingevent.h
blob: 7456100a9cc6a76d308efd70d6bdec2de5d72d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: 2017 Kitsune Ral <Kitsune-Ral@users.sf.net>
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

#include "event.h"

namespace Quotient {
class TypingEvent : public Event {
public:
    DEFINE_EVENT_TYPEID("m.typing", TypingEvent)

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

    QStringList users() const;
};
REGISTER_EVENT_TYPE(TypingEvent)
} // namespace Quotient