/*
* 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
#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"),
- 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.