[CalendarServer-changes] [6210] CalendarServer/trunk/twistedcaldav/notify.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 31 08:17:44 PDT 2010


Revision: 6210
          http://trac.macosforge.org/projects/calendarserver/changeset/6210
Author:   sagen at apple.com
Date:     2010-08-31 08:17:41 -0700 (Tue, 31 Aug 2010)
Log Message:
-----------
Advertise the XMPP port along with the hostname.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/notify.py

Modified: CalendarServer/trunk/twistedcaldav/notify.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/notify.py	2010-08-31 13:22:29 UTC (rev 6209)
+++ CalendarServer/trunk/twistedcaldav/notify.py	2010-08-31 15:17:41 UTC (rev 6210)
@@ -1221,7 +1221,7 @@
             results['service'] = settings['ServiceAddress']
             results['host'] = config.ServerHostName
             results['port'] = config.SSLPort or config.HTTPPort
-            results['xmpp-server'] = settings['Host']
+            results['xmpp-server'] = "%s:%d" % (settings['Host'], settings['Port'])
             results['subscription-url'] = settings['SubscriptionURL']
             results['aps-bundle-id'] = settings['APSBundleID']
             results['heartrate'] = settings['HeartbeatMinutes']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100831/308d8b0c/attachment.html>


More information about the calendarserver-changes mailing list