Add Poller class to poll rooms
Accommodate both after and before in MessagesApiRouter