X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_presence.c;h=053994a3490b956172648cf5933055ec1b437c6b;hb=ebc64e2caae8740dd047e5317de2172eb3f44fc3;hp=9191f8f65561b413cc28c4b7e2938e360be6f105;hpb=2072f9f7e24b7ca0130a63595572e3e80e06132d;p=citadel.git diff --git a/citadel/modules/xmpp/xmpp_presence.c b/citadel/modules/xmpp/xmpp_presence.c index 9191f8f65..053994a34 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-2010 by Art Cancro + * Copyright (c) 2007-2014 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,7 +58,6 @@ #include "serv_xmpp.h" - /* * Indicate the presence of another user to the client * (used in several places) @@ -66,13 +65,14 @@ void xmpp_indicate_presence(char *presence_jid) { XPrint(HKEY("presence"), - XPROPERTY("from", presence_jid, strlen(presence_jid)), - XPROPERTY("to", XMPP->client_jid, strlen(XMPP->client_jid)), - TYPE_ARGEND); + 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.