Take the duplicated code out of MatrixChat and MemberInfo, and put it in a separate 'createRoom' module