X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_presence.c;fp=citadel%2Fmodules%2Fxmpp%2Fxmpp_presence.c;h=9191f8f65561b413cc28c4b7e2938e360be6f105;hp=053994a3490b956172648cf5933055ec1b437c6b;hb=ccfce1854b9c2547d9b87ce07185d68b0df76d9e;hpb=ebc64e2caae8740dd047e5317de2172eb3f44fc3 diff --git a/citadel/modules/xmpp/xmpp_presence.c b/citadel/modules/xmpp/xmpp_presence.c index 053994a34..9191f8f65 100644 --- a/citadel/modules/xmpp/xmpp_presence.c +++ b/citadel/modules/xmpp/xmpp_presence.c @@ -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 @@ -58,6 +58,7 @@ #include "serv_xmpp.h" + /* * Indicate the presence of another user to the client * (used in several places) @@ -65,14 +66,13 @@ 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 - ); + 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.