From 13f891185de9a678d37fe377c1426805c2e974ac Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 1 May 2018 16:36:53 +0900 Subject: User::processEvent: add const --- lib/user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/user.cpp') diff --git a/lib/user.cpp b/lib/user.cpp index c4fbfe35..91b340d5 100644 --- a/lib/user.cpp +++ b/lib/user.cpp @@ -358,7 +358,7 @@ QUrl User::avatarUrl(const Room* room) const return avatarObject(room).url(); } -void User::processEvent(RoomMemberEvent* event, const Room* room) +void User::processEvent(const RoomMemberEvent* event, const Room* room) { if (event->membership() != MembershipType::Invite && event->membership() != MembershipType::Join) -- cgit v1.2.3