aboutsummaryrefslogtreecommitdiff
path: root/lib/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/user.cpp')
-rw-r--r--lib/user.cpp2
1 files changed, 1 insertions, 1 deletions
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)