Apply patches sugested by Taroe Hong plus some more bugfixes.
[citadel.git] / citadel / modules / xmpp / xmpp_presence.c
index 053994a3490b956172648cf5933055ec1b437c6b..b4b09b1cffc57b8ecbbc82e4f407a47425bcbc20 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Handle XMPP presence exchanges
  *
- * Copyright (c) 2007-2014 by Art Cancro
+ * Copyright (c) 2007-2010 by Art Cancro
  *
  * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #include "serv_xmpp.h"
 
 
+
 /* 
  * Indicate the presence of another user to the client
  * (used in several places)
  */
 void xmpp_indicate_presence(char *presence_jid)
 {
-       XPrint(HKEY("presence"),
-               XCLOSED,
-               XPROPERTY("from", presence_jid, strlen(presence_jid)),
-               XPROPERTY("to",  XMPP->client_jid, strlen(XMPP->client_jid)),
-               TYPE_ARGEND
-       );
+       XPrint(HKEY("presence"), XCLOSED,
+              XPROPERTY("from", presence_jid, strlen(presence_jid)),
+              XPROPERTY("to",  XMPP->client_jid, strlen(XMPP->client_jid)),
+              TYPE_ARGEND);
 }
 
 
+
 /*
  * Convenience function to determine whether any given session is 'visible' to any other given session,
  * and is capable of receiving instant messages from that session.