components/chatroom.js
function processChatGroupSummary(groupSummary, preProcessed) {
	if (!preProcessed) {
		groupSummary = preProcessObject(groupSummary);
	}

	if (groupSummary.top_members) {
		groupSummary.top_members = groupSummary.top_members.map(accountid => SteamID.fromIndividualAccountID(accountid));
	}

	return groupSummary;
}
function processChatGroupSummary(groupSummary, preProcessed) {
	if (!preProcessed) {
		groupSummary = preProcessObject(groupSummary);
	}

	if (groupSummary.top_members) {
		groupSummary.top_members = groupSummary.top_members.map(accountid => SteamID.fromIndividualAccountID(accountid));
	}

	return groupSummary;
}
function processChatGroupSummary ( groupSummary , preProcessed ) { if ( ! preProcessed ) { groupSummary = preProcessObject ( groupSummary ) ; } if ( groupSummary . top_members ) { groupSummary . top_members = groupSummary . top_members . map ( accountid => SteamID . fromIndividualAccountID ( accountid ) ) ; } return groupSummary ; }
Process a chat group summary.
@param {object} groupSummary
@param {boolean} [preProcessed=false]
@returns {object}
Process a chat group summary .