some initial thoughts. just need to wire-up some sort of loop or sequence that will actually trigger the new event.
added infrastructure for chat room message trimming. only trims when:
- message count exceeds 500
- room is "trimmable"
- user has typed in the room since last history fetch
remove event for trim message history