add chatroom id to messages