X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_messages.c;fp=citadel%2Fmodules%2Fxmpp%2Fxmpp_messages.c;h=b2e2dadf4869736fa5bc15a409f77505842d7917;hp=7992d4de4946e3637c122fbd743aa47a813c2ebb;hb=ccfce1854b9c2547d9b87ce07185d68b0df76d9e;hpb=ebc64e2caae8740dd047e5317de2172eb3f44fc3 diff --git a/citadel/modules/xmpp/xmpp_messages.c b/citadel/modules/xmpp/xmpp_messages.c index 7992d4de4..b2e2dadf4 100644 --- a/citadel/modules/xmpp/xmpp_messages.c +++ b/citadel/modules/xmpp/xmpp_messages.c @@ -1,15 +1,22 @@ /* * Handle messages sent and received using XMPP (Jabber) protocol * - * 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 version 3. + * + * * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. + * + * + * + * + * */ #include "sysdep.h" @@ -118,11 +125,8 @@ void xmpp_send_message(char *message_to, char *message_body) { XMPP->message_to[0] = 0; time(&CCC->lastidle); } - - void xmpp_end_message(void *data, const char *supplied_el, const char **attr) { - safestrncpy(XMPP->message_to, ChrPtr(XMPP->Message.to), sizeof(XMPP->message_to)); xmpp_send_message(XMPP->message_to, XMPP->message_body); XMPP->html_tag_level = 0; }