Make max number of messages per room configurable