Added room message and private message received hooks