function decomposeChatFlags(chat, chatFlags) {
	chat.private = !!(chatFlags & EChatFlags.Locked);
	chat.invisibleToFriends = !!(chatFlags & EChatFlags.InvisibleToFriends);
	chat.officersOnlyChat = !!(chatFlags & EChatFlags.Moderated);
	chat.unjoinable = !!(chatFlags & EChatFlags.Unjoinable);
}
Converts chat flags into properties on a chat room object
@param {Object} chat
@param {number} chatFlags