for session events the `e` object requires passing though e.im to get to state for state events the `e` object is the state