base: A better log message for unhandled member events.

This commit is contained in:
Damir Jelić 2020-11-24 10:58:33 +01:00
parent 35069c5252
commit de5f5cf00a

View file

@ -169,7 +169,7 @@ fn handle_membership(
info!("ADDING INVITED MEMBER {} to {}", event.state_key, room_id); info!("ADDING INVITED MEMBER {} to {}", event.state_key, room_id);
changes.add_invited_member(room_id, event.clone()) changes.add_invited_member(room_id, event.clone())
} }
_ => info!("UNHANDLED MEMBERSHIP"), membership => info!("UNHANDLED MEMBERSHIP {} {:?}", event.state_key, membership),
} }
} }