Renamed join and leave to joinRoom and leaveRoom
Bug fix in paginateMessagesBack: return only events that went to the messages property