aboutsummaryrefslogtreecommitdiff
path: root/lib/events/typingevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/typingevent.h')
-rw-r--r--lib/events/typingevent.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/events/typingevent.h b/lib/events/typingevent.h
index 1cf4e69d..97e1f9cc 100644
--- a/lib/events/typingevent.h
+++ b/lib/events/typingevent.h
@@ -25,12 +25,9 @@ class TypingEvent : public Event {
public:
DEFINE_EVENT_TYPEID("m.typing", TypingEvent)
- TypingEvent(const QJsonObject& obj);
+ explicit TypingEvent(const QJsonObject& obj) : Event(typeId(), obj) {}
- const QStringList& users() const { return _users; }
-
-private:
- QStringList _users;
+ QStringList users() const;
};
REGISTER_EVENT_TYPE(TypingEvent)
} // namespace Quotient