diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 16:36:53 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:46:57 +0900 |
commit | 13f891185de9a678d37fe377c1426805c2e974ac (patch) | |
tree | 6d0da2f2f91331b02a117464ef89c67126f452cb /lib/user.h | |
parent | 0cc26526b243fd10d84ccda87852defd29631b39 (diff) | |
download | libquotient-13f891185de9a678d37fe377c1426805c2e974ac.tar.gz libquotient-13f891185de9a678d37fe377c1426805c2e974ac.zip |
User::processEvent: add const
Diffstat (limited to 'lib/user.h')
-rw-r--r-- | lib/user.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -103,7 +103,8 @@ namespace QMatrixClient QString avatarMediaId(const Room* room = nullptr) const; QUrl avatarUrl(const Room* room = nullptr) const; - void processEvent(RoomMemberEvent* event, const Room* r = nullptr); + void processEvent(const RoomMemberEvent* event, + const Room* r = nullptr); public slots: void rename(const QString& newName); |