Author: Torsten Werner <twerner@debian.org>
Forwarded: not-needed
Description: Changes the SITENAME and comments out polling mode
 and binding with {jabber,jwchat}.org examples.

Index: jwchat-1.0final/config.js
===================================================================
--- jwchat-1.0+dfsg-1.orig/src/config.js	2008-12-10 17:02:59.000000000 +0100
+++ jwchat-1.0+dfsg-1/src/config.js	2008-12-27 00:23:50.000000000 +0100
@@ -26,7 +26,7 @@
  * Have a look at the README for hints and troubleshooting!
  */
 
-var SITENAME = "localhost";
+var SITENAME = "__ApacheServerName__";
 
 /* BACKENDS
  * Array of objects each describing a backend.
@@ -60,6 +60,7 @@
 			type:"binding",
 			servers_allowed:[SITENAME]
 		},
+/*
 		{
 			name:"Native Polling",
 			description:"Ejabberd's native HTTP Polling backend",
@@ -81,6 +82,7 @@
 			type:"binding",
 			servers_allowed:[SITENAME,'jabber.org','jwchat.org']
 		}
+*/
 ];
 
 var DEFAULTRESOURCE = "jwchat";
