diff options
Diffstat (limited to 'user.cpp')
-rw-r--r-- | user.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |