You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			119 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			119 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
<?php
 | 
						|
	/**
 | 
						|
	 * \file
 | 
						|
	 * Provide hardcoded information on Community servers and Communities.
 | 
						|
	 */
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $ICON_ALLOWLIST
 | 
						|
	 * Hostnames or rooms considered to have safe room icons.
 | 
						|
	 */
 | 
						|
	$ICON_ALLOWLIST = [
 | 
						|
		"open.getsession.org",
 | 
						|
		"sog.caliban.org",
 | 
						|
		"sog.zcyph.cc",
 | 
						|
		"icon+55e4021b",
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $ICON_BLOCKLIST
 | 
						|
	 * Hostnames or rooms considered to have unsafe room icons.
 | 
						|
	 */
 | 
						|
	$ICON_BLOCKLIST = [
 | 
						|
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $NSFW_INCLUDE
 | 
						|
	 * Hostnames or rooms considered to host adult content.
 | 
						|
	 */
 | 
						|
	$NSFW_INCLUDE = [
 | 
						|
		"gaohuangse.work",
 | 
						|
		"46.101.253.18",
 | 
						|
		"womanbodybeauty+13f6",
 | 
						|
		"88.212.53.198:4080",
 | 
						|
		"aiunlimited+fc30",
 | 
						|
		"AlexMed+e093",
 | 
						|
		"gore+e5e0",
 | 
						|
		"internet+70d0",
 | 
						|
		"k9training+fdcb",
 | 
						|
		"dogmen+fdcb",
 | 
						|
		"RU-STEROID+e093",
 | 
						|
		"thestart+e4b1",
 | 
						|
		"deutschclub+e4b1",
 | 
						|
		"cocaine+e4b1",
 | 
						|
		"chigua+4567",
 | 
						|
		"A4hanguo+4567",
 | 
						|
		"adult.oddch.at",
 | 
						|
		"55e43f8010a820cf3a4ed50bff1916bd5f166148f2c8b4a9feb1088bc86729",
 | 
						|
		"naturist+a3d5",
 | 
						|
		"meme+c975",
 | 
						|
		"trader+c975",
 | 
						|
		"public-chinese+c975",
 | 
						|
		"brasil+ad34abde",
 | 
						|
		"cryptochinese+0e0d253d",
 | 
						|
		"uadigitaltalks+e529b085",
 | 
						|
		"uaonlinetalks+e529b085",
 | 
						|
		"program-magic+194f9085",
 | 
						|
		"main+bf06303a",
 | 
						|
		"offtopic+e56f81b8",
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $NSFW_EXCLUDE
 | 
						|
	 * Hostnames or rooms considered not to host adult content.
 | 
						|
	 */
 | 
						|
	$NSFW_EXCLUDE = [
 | 
						|
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $TESTING_INCLUDE
 | 
						|
	 * Rooms intended for testing and not for a general userbase.
 | 
						|
	 */
 | 
						|
	$TESTING_INCLUDE = [
 | 
						|
		"fishing+8e2e",
 | 
						|
		"test+118d",
 | 
						|
		"test+13f6",
 | 
						|
		"test+fe93",
 | 
						|
		"xyz+7908",
 | 
						|
		"testingroom+22fd",
 | 
						|
		"TOKEN_fortest1+4567",
 | 
						|
		"test2+ed339954",
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var array<string,string> $SERVER_ICON_MAPPING
 | 
						|
	 * Associative array specifies which room token provides a server-wide icon.
 | 
						|
	 */
 | 
						|
	$SERVER_ICON_MAPPING = [
 | 
						|
		"open.getsession.org" => "session",
 | 
						|
		"sog.caliban.org" => "privacy",
 | 
						|
		"64dcb99cf35d803452106a63ed4d55e3869d4c966d3e762c365b784c08007333" => "midnightmadness",
 | 
						|
		"a3d56b901a39ba1bb4f6f8ab9dc9bb9343135a99f7d3d0ddc15d9ae2ddcefb55" => "esperanto",
 | 
						|
		"sogs.cosmicnation.co" => "cosmicnation",
 | 
						|
		"chat.privacycountry.org:8888" => "pcf",
 | 
						|
		"oddch.at" => "icon",
 | 
						|
		"adult.oddch.at" => "icon",
 | 
						|
		"ai.oddch.at" => "icon",
 | 
						|
		"talk.oddch.at" => "icon",
 | 
						|
		"sogs.hloth.dev" => "sessionjs",
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $ROOMS_USED_BY_PROJECT
 | 
						|
	 * Community rooms encouraged for use in discussing https://sessioncommmunities.online/.
 | 
						|
	 */
 | 
						|
	$ROOMS_USED_BY_PROJECT = [
 | 
						|
		"webdev+118d",
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * @var string[] $STICKIED_ROOMS
 | 
						|
	 * Community rooms anchored to the top of the list.
 | 
						|
	 */
 | 
						|
	$STICKIED_ROOMS = [
 | 
						|
		"reports+21317dc3",
 | 
						|
	];
 | 
						|
?>
 |