Author: ArcRiley
Date: 2009-02-26 17:56:02 -0500 (Thu, 26 Feb 2009)
New Revision: 1528

Modified:
   trunk/concordance/src/sockets/Client.c
Log:
specifies that resource binding is required after SASL auth

Modified: trunk/concordance/src/sockets/Client.c
===================================================================
--- trunk/concordance/src/sockets/Client.c      2009-02-26 22:03:34 UTC (rev 
1527)
+++ trunk/concordance/src/sockets/Client.c      2009-02-26 22:56:02 UTC (rev 
1528)
@@ -496,7 +496,10 @@
 
     if (session->user) {
       /* don't provide features to authenticated users */
-      buff = g_string_append(buff, "<stream:features/>");
+      buff = g_string_append(buff,
+                             "<stream:features>"
+                             "<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>"
+                             "</stream:features>");
     }
     else {
       /* open stream:features and mechanisms element */

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to