aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.cpp')
-rw-r--r--user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.cpp b/user.cpp
index 17714bee..f2a3a33b 100644
--- a/user.cpp
+++ b/user.cpp
@@ -133,7 +133,7 @@ void User::processEvent(Event* event)
{
if( event->type() == EventType::RoomMember )
{
- RoomMemberEvent* e = static_cast<RoomMemberEvent*>(event);
+ auto e = static_cast<RoomMemberEvent*>(event);
if (e->membership() == MembershipType::Leave)
return;