X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_presence.c;h=4f71c7eea9ed4dfcaffcc9d4ac6b7b6fd82aba06;hb=cfa09472a585c534fd05c8a35811cff9ef18965f;hp=2d498078422a5dc11b4ed7cb10a21e7d6b249676;hpb=aaffd92765c6a7fa51e97e44693a648a6328e4f5;p=citadel.git diff --git a/citadel/modules/xmpp/xmpp_presence.c b/citadel/modules/xmpp/xmpp_presence.c index 2d4980784..4f71c7eea 100644 --- a/citadel/modules/xmpp/xmpp_presence.c +++ b/citadel/modules/xmpp/xmpp_presence.c @@ -53,12 +53,10 @@ #include "support.h" #include "config.h" #include "internet_addressing.h" -#include "md5.h" #include "ctdl_module.h" #include "serv_xmpp.h" - /* * Indicate the presence of another user to the client * (used in several places) @@ -73,7 +71,6 @@ void xmpp_indicate_presence(char *presence_jid) } - /* * 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. @@ -221,7 +218,6 @@ void xmpp_presence_notify(char *presence_jid, int event_type) { } - void xmpp_fetch_mortuary_backend(long msgnum, void *userdata) { HashList *mortuary = (HashList *) userdata; struct CtdlMessage *msg; @@ -261,7 +257,6 @@ void xmpp_fetch_mortuary_backend(long msgnum, void *userdata) { } - /* * Fetch the "mortuary" - a list of dead buddies which we keep around forever * so we can remove them from any client's roster that still has them listed @@ -284,7 +279,6 @@ HashList *xmpp_fetch_mortuary(void) { } - /* * Fetch the "mortuary" - a list of dead buddies which we keep around forever * so we can remove them from any client's roster that still has them listed @@ -318,7 +312,6 @@ void xmpp_store_mortuary(HashList *mortuary) { } - /* * Upon logout we make an attempt to delete the whole roster, in order to * try to keep "ghost" buddies from remaining in the client-side roster. @@ -352,7 +345,6 @@ void xmpp_massacre_roster(void) } - /* * Stupidly, XMPP does not specify a way to tell the client to flush its client-side roster * and prepare to receive a new one. So instead we remember every buddy we've ever told the @@ -399,4 +391,3 @@ void xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster(void) DeleteHash(&mortuary); free(cptr); } -