diff mcabber/src/xmpp_iq.c @ 1615:171ae5a258fa

Add dummy vcard IQ handler
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2009 22:02:06 +0200
parents 351427ef0b4b
children e38300775548
line wrap: on
line diff
--- a/mcabber/src/xmpp_iq.c	Sun Oct 11 21:37:02 2009 +0200
+++ b/mcabber/src/xmpp_iq.c	Sun Oct 11 22:02:06 2009 +0200
@@ -818,4 +818,11 @@
   return LM_HANDLER_RESULT_REMOVE_MESSAGE;
 }
 
+LmHandlerResult handle_iq_vcard(LmMessageHandler *h, LmConnection *c,
+                                LmMessage *m, gpointer ud)
+{
+  send_iq_error(c, m, XMPP_ERROR_SERVICE_UNAVAILABLE);
+  return LM_HANDLER_RESULT_REMOVE_MESSAGE;
+}
+
 /* vim: set expandtab cindent cinoptions=>2\:2(0:  For Vim users... */