From a512a9953b11f58c41e0786b3e504f69c9e38e4e Mon Sep 17 00:00:00 2001
From: Chris Heitkamp / SuperVirus <warpzone@chrisheitkamp.de>
Date: Sun, 29 Jun 2014 23:17:40 +0200
Subject: [PATCH] Added member count, issue_mail

---
 api/spaceapi.php | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/api/spaceapi.php b/api/spaceapi.php
index 2393911..34e8ee5 100644
--- a/api/spaceapi.php
+++ b/api/spaceapi.php
@@ -1,4 +1,7 @@
 <?php
+
+	$memberCount = 48;
+
 	header('Content-Type: application/json');
 	header('Access-Control-Allow-Origin: *');
 	header('Cache-Control: no-cache');
@@ -54,9 +57,10 @@
 			'email' => 'office@warpzone.ms',
 			'irc' => 'irc://irc.freenode.net/#warpzone',
 			'ml' => 'warpzone@warpzone.ms',
+			'issue_mail' => base64_encode('spaceapi@warpzone.ms'),
 		),
 		'issue_report_channels' => Array(
-			'email',
+			'issue_mail',
 		),
 		'state' => Array(
 			'open' => $wankerTuerOffen,
@@ -66,6 +70,11 @@
 			),
 		),
 		'sensors' => Array(
+			'total_member_count' => Array(
+				Array(
+					'value' => $memberCount,
+				),
+			),
 			'temperature' => Array(
 				Array(
 					'value' => $wankerTempLounge,
-- 
GitLab