Removed MXRoom reference in OnEvent callback