blob: 522f7e423b90514b59b762474f8daa3b26e6c8ba (
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 QUOTIENT_API 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
|