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